Additions to send mail