new method on mailer, set mailer config in env