Product

Mailgun + Dyspatch: Building a bridge between developers and marketers

Different roles view transactional emails very differently. But when it comes to getting them built or edited, everyone involved has a pain point.

PUBLISHED ON

PUBLISHED ON

Everyone knows that Mailgun is the email service built by and for developers who need a powerful email infrastructure. If you’re itching to learn more, take a minute to click around the website. We’ll wait.

Developers are able to do what they do best in Mailgun, but marketers can be left shoulder tapping if they have a less-than-technical grasp of email design. And it’s no secret that coding email is not high on most developers’ list of priorities.

Thankfully, your developers and marketers can get the best of both worlds when you pair Mailgun with Dyspatch — a transactional email production platform that allows you to create and change transactional emails independently of your codebase, customer data, and ESP.

Wait — what kind of email?

So what exactly is transactional email? If you didn’t get a chance to read Mailgun’s recap of Transactional and Marketing emails, give yourself a few minutes to get acquainted before moving forward. Long story short, they’re those automated emails that are triggered as a result of an action on the customer’s part. Mailgun is great for sending those emails in a way that takes care of your sender reputation and deliverability, and for tracking opens, clicks, unsubscribes, and spam complaints, but those email messages still need to be created and maintained.

Different folks in different roles will view transactional emails differently. But when it comes to getting them built or edited, everyone involved has a pain point. With developers focused on higher priorities and marketers chasing promotional goals, optimizing transactional emails, to keep content, branding, and compliance up-to-date is often a challenge. We’ve all received one of those transactional emails — you know the type, an email that bears virtually zero resemblance to the app or company website, plain text with no images or CTA, and with virtually no branding whatsoever.  

You can solve all those challenges with an email template management process that makes it easy for developers and less-technical users (i.e. marketers) to collaborate on transactional email content.

Dyspatch establishes a template-based workflow that will not only make your developers happy, but your product owners and marketers will be satisfied as well. With templates managed outside of the code base, you can standardize and lock down common elements, such as headers, footers, tables, and CTAs, or the code strings that pull order, account, or offer details, while allowing less-technical stakeholders the flexibility to easily change content, such as copy and graphics.

So how does Dyspatch work with Mailgun?

Dyspatch allows teams to create and change emails faster while ensuring every email is on-brand and fully compliant. Dyspatch adds a layer within which you can create and edit your email templates — a front-end, user interface where you can organize your templates within workspaces, update content in the easy-to-use visual editor, and test with built-in device testing. The way you and your systems interact with Mailgun remains unchanged. And once the templates and components (headers, footers, CTAs, etc.) are created, developers can focus on other projects, only needing to check in from time to time if the code needs updating.

Here are the nuts and bolts of our integration:
  1. Create or update your email template in Dyspatch.

  2. Test your template using sample data with built-in device testing.

  3. Submit your tested template for approval.

  4. Once approved, you can retrieve the template with an API call.

When an email needs to be sent:

  1. The retrieved template is prepared for rendering by inserting the recipient, sender, and localization data.

  2. The template HTML, text, and metadata are rendered using the Jinja library.

  3. The rendered email is passed to Mailgun for sending.

Can it really be that simple?

Yes, it can. At the end of the day, Dyspatch and Mailgun want to make things easier for everyone on your team. Developers and marketers get to do what they do best — create. Developers can focus on building great products and marketers can concentrate on creating great brand experiences. Together, they can collaborate seamlessly on optimized transactional emails that engage customers and drive growth.

Featured Webinar — Mailgun + Dyspatch: Helping Developers and Marketers Find Middle Ground on Transactional Email

Finding email workflow solutions that satisfy both marketers and developers can be challenging and frustrating for both parties. By pairing Mailgun and Dyspatch, marketers can own transactional content creation with reduced reliance on developers. In this webinar, we covered the different pain points that come alongside transactional email creation and different ways to solve them. Check it out!

Let's talk email

Learn about our deliverability services

See what you can accomplish with the world's best email delivery platform and experts at your disposal.

Related readings

5 reasons transactional emails are unsung heroes of the customer experience

Some heroes have songs written about them. Folk heroes of the railroad like Casey Jones and John Henry get ballads. Princess Diana and Marilyn Monroe share an Elton John...

Read more

Email deliverability and the customer experience: What are the connections?

Whether it’s business or personal, relationships are built on trust. Good communication fosters that trust. For strong communication between your company and your customers...

Read more

An expanded Mailgun product suite to transform email deliverability

Today marks a special day for Sinch Mailgun. For over a decade, our focus has been to provide the best email experience for businesses all around the world. Now, we take...

Read more

Popular posts

Email inbox.

Build Laravel 10 email authentication with Mailgun and Digital Ocean

When it was first released, Laravel version 5.7 added a new capability to verify user’s emails. If you’ve ever run php artisan make:auth within a Laravel app you’ll know the...

Read more

Mailgun statistics.

Sending email using the Mailgun PHP API

It’s been a while since the Mailgun PHP SDK came around, and we’ve seen lots of changes: new functionalities, new integrations built on top, new API endpoints…yet the core of PHP...

Read more

Statistics on deliverability.

Here’s everything you need to know about DNS blocklists

The word “blocklist” can almost seem like something out of a movie – a little dramatic, silly, and a little unreal. Unfortunately, in the real world, blocklists are definitely something you...

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