adding the send mail functions