---
title: Mailgun
slug: mailgun
image: https://make-cxp-documentation.ams3.digitaloceanspaces.com/apps-center-icons/PREVIEW_mailgun.png
docTags: 
createdAt: 2025-02-03T13:29:06.383Z
---

# Get Started with Mailgun

The Mailgun modules allow you to monitor delivery messages, clicks, opens, temporary failure, permanent failure, spam complaints, and unsubscribe events, as well as send an email and add, delete, list and retrieve mailing lists in your Mailgun account.

In order to use Mailgun with Make, it is necessary to have a Mailgun account. If you do not have one, you can create a Mailgun account at [mailgun.com](https://signup.mailgun.com/new/signup).

# Connect Mailgun to Make

To connect your Mailgun account to Make you need to obtain the *API Key* from your Mailgun account.

1. Log in to your Mailgun account.
2. Open *Settings* > *API Security.*
3. Show and copy the *Private API Key*.
4. Go to **Make**, open the *Create a connection* dialog of your Mailgun module.
5. Enter the *API Key* you have copied in *step 3* to the respective field.

:::hint{type="info"}
Please ensure that you have selected the correct *Base URL* (displayed after clicking the *Show advanced settings* button).
:::

# Mailgun modules

:::ExpandableHeading
**Events**

- New Event: Delivery Messages
- New Event: Clicks
- New Event: Opens
- New Event: Temporary Failure
- New Event: Permanent Failure
- New Event: Spam Complaints
- New Event: Unsubscribed
:::

:::ExpandableHeading
**Email**

- Send an Email
:::

:::ExpandableHeading
**Mailing Lists**

- Add a Mailing List Member
- Delete a Mailing List Member
- Get a Mailing List Member
- List Mailing List Members
:::

:::ExpandableHeading
**Other**

- LIst Domains
- Validate an Email Address
- Make an API Call
:::

## Send emails from sandbox

If you use sandbox (if you haven't set up any domain) and want to send emails, you need to verify the recipients' email addresses in your Mailgun account's settings first. For more information, please read the [Mailgun documentation](https://help.mailgun.com/hc/en-us/articles/217531258).

## 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 @example.com, you can set up example\@example.com (but not example\@abc.com) as the sender email address.
