Export mailer directly instead of as an object property