Require mailer directly instead of passing it from server