English // Intermediate // Code & Development
Revamp Transactional Email in Drupal Core
Work is underway to modernize the transactional email APIs in Drupal Core. Discover what is already available and what is currently in development. Presented by Klara Binon and Lorenz Schori. Read more
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.3. 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.