Add support for email notifications, including sending test events, and parsing incoming emails.