updating mail plugin