move email conf out of source code