Tearing out the old code for sending email.