changes for email config