Move mailing configuration into environments.