created and tested mailer