Write MailNotification plugin.