update email plugin