Mailgun Help & Support

What Mailgun Triggers and Actions are Supported?

Supported Triggers#

  • New Unsubscribe Event - Track Unsubscribe Events via Callback URL.
  • New Complaint Event - Track Unsubscribe Events via Callback URL.
  • New List - Triggered when a new mailing list is added to your account.
  • New Open/Click Event - Webhook for Tracking Opens/Clicks.
  • New Bounce Event - Track Bounce Events via Callback URL.
  • New Log Data - Mailgun logs most actions within your account, use this trigger to push events to other services.
  • New Failed Delivery Event - Track Failed Delivery Attempts via Callback URL.
  • New Delivery Event - Track Successful Delivery Events via Callback URL.

Supported Actions#

  • Send Email - Send an email, via your Mailgun account.
  • New Mailing List Member - Adds a new member to a mailinglist.

How to Get Started with Mailgun

About Mailgun's Integration#

  • Admin/owner permissions: Admin User Role required to acquire API Key
  • Paid/versioned account: Works on any paid Mailgun account

Connecting with Mailgun#

The first thing you'll need to do to get started with hooking up Mailgun with Zapier and hundreds of other services is to add your Mailgun Account to Zapier. Click to add a Mailgun account in your Zap.

Connect Mailgun to Zapier

You should then log into your Mailgun account to retrieve your API key and domain.

Log into your Mailgun account

After logging into your Mailgun account, both your API key and domains will be located right on the main page.

Retrieve your Mailgun API key

Next you will place your API key and domain into the respective fields under your account title field.

Zapier tests your account

Entering your API key and domain finishes the process! Your Mailgun account is now connected to Zapier.

Common Problems with Mailgun

Can I send HTML email with Mailgun?#

Yes! In the Send Email action there are fields for both an HTML body and Plain Text body of the email message.

Can I send attachments using Mailgun through Zapier?#

We currently don't have attachment support for Mailgun at this point in time, but will hopefully be able to add that kind of functionality in the future.

Can't Connect to Zapier When Using an EU Region Mailgun Account#

If you're using an EU region Mailgun account, your account isn't currently supported on Zapier at this time.

Mailgun EU Account

I'm getting a 401 error even though my credentials are correct#

  • Check if you have verified your phone number with Mailgun. This is needed to use the API
  • Check if whitelisting is enabled with the Mailgun account, this blocks unauthorized access including to the API

Need More Help? - Our support team is happy to help -- send us a message

Mailgun is a tool with powerful APIs that allow you to send, receive, track and store email effortlessly. Except, with Zapier you don't have to write any code!

Getting Started with Zapier

Need more help? Try the Zapier Help Center