adding mailer, making it work