added missing email tpl, remove system preferences on plugin uninstall