Creating and sending mail is now functional