Move email config to a separate file