Update the way to send mail.