changed environment configs to include actionmailer settings