Added ability to send mail