migrated over mailer test