update mailer settings
put mailer in correct place