modify email config