Abstracting email process for configuration