issue #18983: created email functor and X.smtpTransport