Work is underway to modernize the transactional email APIs in Drupal Core. Discover what is already available and what is currently in development.
Drupal Core still provides a very rudimentary API for sending transactional emails. Most projects, including Drupal CMS rely on several contrib modules in order to provide an acceptable UX for both site builders and site users.
Work is underway to modernize the APIs around transactional email in Drupal Core. The first step was to introduce the Symfony Mailer component as a core dependency. Since then, people have been busy hashing out the transport layer by introducing the necessary components into the dependency injection container. The work on the transport layer is done and may ship with Drupal 11.4/12. It is now time to focus on how transactional mails should be built and rendered in future versions of Drupal.
This session will be a very brief overview of the state of core and contrib mail APIs, followed by a (hopefully) long Q&A where the audience is encouraged to bring in their PoV regarding the future of transactional email. The results of this session will ideally lead to a clear and widely accepted plan for how Drupal core transactional email will be modernized in future releases.
Core conversations about the subject of mail API refactoring has been a topic on several Drupal events in the past. E.g., DevDays Vienna (2023), Drupal Camp Ghent (2024) and Drupal Camp Ruhr (2025).
Participants will build up an understanding on the core mailer roadmap and how they may start to contribute to that process.
