Added mail.tls option, which enables TLS over SMTP for email notifications. Email notifications work with gmail now.