adding mailer and updating mail settings