Moved email config to config file.