added the ability to send email