generate mailer, configure email send