Added secure sending of email.