Back to main menu

Product

Building out our email template features

Create, customize, store, and use your email templates from start to finish – all in one platform on Mailgun via our HTML editor or Drag-and-Drop Template Builder.

PUBLISHED ON

PUBLISHED ON

Email templates are the first thing your recipients notice about your emails. Great emails speak for themselves in the ROI they generate and the engagements they drive, let alone the good they do for your brand’s reputation. Conversely, poorly designed emails harm all those areas, driving complaints and potentially sending you to the spam folder.

But developing HTML emails is hard and time-consuming. So, at Mailgun, we set out to create a drag-and-drop email editor that would make great email templates accessible to all. Today, we’re ecstatic to make good on the goals we set by bringing you our Drag-and-Drop Template Builder – available on all plans.

Developing new features for template building

A few years ago, the Mailgun team developed our Templates API. Our goal then was to create a method for developers to upload preexisting templates for storage and A/B testing purposes by use of our tagging feature and template versions. Alongside this, we added an HTML editor that allowed developers to edit templates within the dashboard, with a few preexisting templates to give those who did not have any templates something to work with right out the gate.

A mockup of HTML code for a table

Since its launch, the engineering and product teams were already considering ways to bring a drag-and-drop template builder into the mix. There were a few reasons for this, but the largest one was that some people didn’t have the time (or, if we’re being honest, the patience) to edit HTML to fit their email needs.

These people could be your marketing team who only want Mailgun access to create better templates but don’t want to look at anything resembling code. Or they could be your site engineer who wants an updated look for the password reset emails without spending too much time on them.

Whatever your needs are, we're thrilled to announce our brand-new drag-and-drop template builder is now available on all Mailgun plans.

Try Mailgun's template builder

Easily create and edit email templates in HTML or through our drag-and-drop editor for a better email sending experience. It's easy to get started. And it's free.

Two ways to design

Now when you log into your Mailgun account and click over to your templates, you’ll pick from two template creation options: HTML or Drag-and-Drop.

HTML editor

The HTML editor is the exact builder you’ve come to know over the last few years, right down to the older prefabricated HTML layouts. You’ll still be able to toggle between HTML and the email preview, as well as use Handlebars personalization tokens. If you’re more comfortable writing your emails in HTML or have a pre-existing template, the HTML editor is still the better fit for your needs.

Drag-and-drop template builder

The Template Builder is a streamlined email template creation option that allows the user to move different design elements around without touching a snippet of code.

Drag and drop Template Builder

There are a few different ways to design a template with the template builder. Either start with an empty template and build starting at square one or choose from a selection of different layouts as a jumping off point. Arrange elements in a way that looks best for you and your use case, change colors, and add personalization tokens until you have the perfect template.

Bringing it together with the Templates API

Whether you prefer the HTML editor or the template builder, you can use any template with the Template API. The Templates API allows you to store, version, duplicate, and delete any templates on your account. Once a template or version is stored, adding them to an API call is as simple as adding a parameter.

The same goes for A/B testing between several template versions when sending with Mailgun. Whether you’re testing a new color scheme, CTA, or copy, simply create multiple versions of your template and tag the message using the ‘o:tag’ parameter in your API call. From there, you can toggle between tags in your Analytics dashboard to track performance.

What’s next?

The addition of the Drag-and-Drop Template Builder is a huge improvement to our templates offering, and as ever we're looking towards the future and how we can continue to build a better email sending experience. From improving template previews to developments to template storage within the API, we aim to provide one of the most flexible solutions for your email template needs.

Have an idea for an improvement to the app? Let us know over on Uservoice.

Try Mailgun's template builder

Easily create and edit email templates in HTML or through our drag-and-drop editor for a better email sending experience. It's easy to get started. And it's free.

Related readings

Mailgun and Heartbleed

This was reported on April 10, 2014...

Read More

When transactional email preps 4 million contracts for e-signature every month

Transactional emails spring people to action – especially when they’re the only thing...

Read More

Sending millions of job alerts 24/7 with the Mailgun email API

Mailgun recently caught up with Graham Everitt over at Quantum Response Network to learn more about how his team sends transactional email around the clock. Read more...

Read More

Popular posts

Email inbox.

Email

5 min

Build Laravel 11 email authentication with Mailgun and Digital Ocean

Read More

Mailgun statistics.

Product

4 min

Sending email using the Mailgun PHP API

Read More

Statistics on deliverability.

Deliverability

5 min

Here’s everything you need to know about DNS blocklists

Read More

See what you can accomplish with the world's best email delivery platform. It's easy to get started.Let's get sending
CTA icon