added test for mailer back in