MailPlugin: small fixes, enable plugin.