Easy Email is an HTML email templating system for Drupal, designed to be as simple as possible to configure, with a robust set of features.

Requirements

Easy Email requires a mailer module in order to function. It has currently be tested with the following mailers:

How Is Easy Email Different From Other Modules?

There are a lot of HTML email contrib modules, and some of them are functionally similar to Easy Email. But, they all require a significant amount of work to configure. Many of them also require an in-depth knowledge of how Drupal and email processing work. Easy Email tries to take care of all that for you out of the box with sensible defaults, so you can just enable the module, create a template, and then start sending HTML emails without a lot of other configuration.

Features

Easy Email templates currently support the following features:

  • Create templates in the user interface with a simple interface that resembles an email compose window.
  • To, CC, and BCC recipients
  • Sender name, address, and reply to address
  • HTML body with optional “Inbox Preview” text that is designed to be hidden in the email body, but visible in the inbox preview on supported email clients.
  • Optional plain text body field, which can entered manually or generated from the HTML body field.
  • Token replacement for all fields
  • Easy Email templates are fieldable, and it’s expected that you will need to add custom fields for many use cases. Example: You have an email template for a Drupal Commerce order, you will need an entity reference field for an order, and then you can use order-derived tokens to address the email to the owner of a specific order.
  • Email template preview: you can render a template before actually sending an email
  • Email override system: Makes it easy to override emails sent by Drupal core and other modules with HTML-emails from Easy Email.
  • Email templates are translatable.
  • Dynamic attachments field: use tokens or relative paths to specify attachments
  • Optional email log contains a list of all sent emails, with a full view of what was sent.
  • Logged emails are automatically linked to the user accounts they were sent to, making it easy to find all the emails you sent a particular user
  • Email log purge: Each template can be configured to delete emails of that type after a configurable number of days.
  • Entity-based architecture means you can use standard lifecycle hooks to alter or extend email processing: hook_entity_presave(), hook_entity_update(), etc.
  • Uses Drupal core email API, so hook_mail_alter() is also respected.
  • ECA module integration allows you to trigger the creation and sending of emails from your Easy Email templates.

Video Overview of Easy Email

On March 6, 2024, we hosted a webinar that demonstrated how to set up and configure Easy Email. We created some templates, overrode existing Drupal emails, and demonstrated how to send custom emails in response to triggers using the ECA module. Click below to view a recording of the session:

HTML Emails from Drupal Made Easy

Future Features

On the roadmap for Easy Email:

Sponsoring Features

Is there a feature you wish this module had? An issue that's preventing you from launching your site? Contact Wayne Eaker to sponsor a feature or other work on this module.

Supporting organizations: 
Development Sponsor

Project information

Releases