Conditional e-mail config based on environment