update email plugin config