fix null mailer transport for tests