Interlude --> prod email config & refactoring