Changes to enable TLS for email notifications, as when using a gmail account. Added mail.tls configuration parameter.