adds mailer settings to config files