update send email plugin