move email config to src/config