add test coverage for the action mailer