update email config