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#

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

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
  • Authentication method: API Keys

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

Next you will give your new Account a name or label, which is just a handy name for you to recognize within Zapier. It doesn't matter what you name it.

Give your Mailgun account a title

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.

↑ Was this documentation useful? Yes No (Suggest Edits)

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
↑ Was this documentation useful? Yes No (Suggest Edits)

Popular Things To Do With Mailgun#

Get Help