Update cms_plugins.py

fix proxy method problem when sending email