Template editor for HTML and text
Create HTML (and text) templates within Mailgun. When sending an email using API/SMTP, reference the template instead of sending the message body every time, and include replacement variables.
This would allow us to manage email templates from within Mailgun, instead of in the code base. Similarly, allow us to combine different stylesheets with these templates so we can make a single CSS change, and apply it to all email templates (instead of editing every email template).
Hi all,
Thanks for your patience here! We’ve released the ability to add and edit templates on the Mailgun platform using the API or control panel. Feel free to take a look at our documentation here: https://documentation.mailgun.com/en/latest/api-templates.html. This release doesn’t include support for global style sheets, but perhaps that’s something we can accomplish for v2.