Back to main menu

Product

Reach your users through email and push notifications on the same platform

Using the Mailgun email API, OneSignal integrated email messaging capabilities to their platform, and users can now send personalized emails using tokenized templates.

PUBLISHED ON

PUBLISHED ON

The great thing about APIs is that they come together as building blocks for all sorts of applications. You don’t have to reinvent the wheel to add new features, just integrate an API and save yourself some time. At Mailgun, we continuously improve our APIs so devs can add email to the list of things their app can do.

Of course there are plenty of people who claim email is dead. That’s a different post altogether, but we like to point out the ways companies are using email in tandem with other forms of effective communication. That’s why we got excited when OneSignal

 integrated our email API into their existing platform. This means you can get reliable email delivery using the same dashboard and SDK you’ve been using for push notifications!

OneSignal email setting

If you aren’t comfortable sending email without a front end UI (or you have marketers on your team who aren’t), you now have another option that plays nicely with Mailgun. With OneSignal’s Mailgun integration, you can create marketing emails using responsive email templates and schedule your emails to send when you need them to.

Their dashboard offers a built-in template editor that makes sure your messages render the way they’re supposed to on different email clients. The WYSIWYG editor lets you modify templates directly without editing code every time you have an update.

Another feature we like – you can send personalized emails using tags and dynamic content. Here’s an example of an email template using dynamic content tags:

OneSignal email example with cats

This means you can customize each message on a per-message and per-user basis, referencing the template ID if you decide to send email from your code.

Getting started with OneSignal email messaging requires an existing Mailgun account. Once you’ve got that, you can follow this step-by-step guide on how to set up email in OneSignal and configure your email settings.

Happy sending!

Sign Up

It's easy to get started. And it's free.

See what you can accomplish with the world’s best email delivery platform.

Related readings

The basics of email subdomains

When it comes to email sending, sometimes you need more than the press of a button to get your message across. You may have heard of email subdomains, but you may be...

Read more

The basics of SPF records

SPF doesn’t refer to how long you can wait before you have to reapply your sunblock (seriously, go get some). Instead, the term “SPF” refers to a security measure that helps...

Read more

What is DKIM: Learn how it works and why it’s necessary

Are you who you say you are, or are you a spoofer in disguise? Answering this question is what DKIM is all about. As email usage and capabilities continue to grow, it’s important to...

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