Mailgun (legacy)

Version Legacy

This is the documentation of the legacy Mailgun (legacy) app.
Here is the documentation of the new Mailgun app.

Getting started with Mailgun

To use any Mailgun modules, you need to connect your Mailgun account to Integromat. If you do not have a Mailgun account yet, you can create one at account.

Connecting the Mailgun service to Integromat

To connect your Mailgun account to Integromat, follow the general instructions for Connecting to services. While creating the connection, you will be prompted to enter your Mailgun API key. To find the key:

  1. Open your Mailgun dashboard
  2. Click on the Domains menu item:
  3. Click on your domain:
  4. Scroll to "Domain Information" section (at the top of the page) and copy the API Key:

User guide

How to set up webhooks

If you want to use webhooks in your scenarios, you need to set a URL for each type of webhook in the Webhooks section of the Mailgun control panel.
For more information, please read the Webhooks section.

Sending emails from sandbox

If you use sandbox (if you haven't set up any domain) and want to send emails, you need to verify recipients' email addresses in your Mailgun account's settings first.
For more information, please read the Mailgun documentation.

Sender email address

If you send emails from a verified domain, the email address of the sender must include this domain. If you use, for example, a domain, you can set up ( but not as the sender email address.

Popular use cases from our blog


Slack Automation: 20 Free Templates to Get You Inspired


Google Sheets Automation for Ecommerce: 23 Free Templates


How to Get Someone's Tweets Before Anyone Else Does


How to Automate Employee Onboarding in Minutes with Integromat


How to Auto Send Shopify Orders to Dropshipping Suppliers [Guide]


Like a Champ: How to Save Strava Activities to Google Sheets

Didn’t find what you were looking for?


Create a ticket

Contact our world-class support team and tell us what’s happening.

Create a ticket

Find an expert

We feature a network of 450+ certified partners across the globe who are ready to help

Find an expert

Automate any workflow in your business

Sign up for a free account today. No credit card required, no time limits on free plan.