test sending an email.