moved mailer config out of cap productionf file