adding support for encrypted SMTP