tests for sending email