updating email config