Skip to content
Mailgun logo

Mailgun MCP server

Email delivery service for sending, receiving, and tracking emails

Mailgun is not a separate install. One Activepieces MCP server exposes it alongside 760+ other apps, behind a single URL.

Tools
9
Works with
Any MCP client
Auth
Custom auth
License
MIT, open source
Updated
September 2026

About the Mailgun MCP server

Connect Mailgun once in Activepieces and every action it ships becomes a tool your assistant can call, behind the same server URL as the rest of your apps. Your agent reaches Mailgun and 760+ other apps over a single connection, on our cloud or a self-hosted install.

Tools

Mailgun tools your AI can run

Once connected, your assistant can call any of these Mailgun actions by asking in plain language.

  • Send Email

    Send an email using your Mailgun domain

    9 fields

  • Validate Email

    Validate an email address using Mailgun validation service. Requires a Mailgun account with email validation enabled.

    2 fields

  • Add Mailing List Member

    Add a new member to a Mailgun mailing list

    6 fields

  • Get Events

    Retrieve email events from your Mailgun domain (deliveries, failures, opens, clicks, etc.). Useful for monitoring and alerting.

    6 fields

  • Get Domain Stats

    Retrieve aggregated email statistics for a Mailgun domain (delivered, failed, opened, etc.). Useful for monitoring delivery health and detecting anomalies.

    3 fields

  • List Bounces

    Retrieve the list of bounced email addresses for a Mailgun domain. Useful for cleanup after delivery issues or spam attacks.

    2 fields

  • Delete Bounces (Bulk)

    Remove bounced addresses from the Mailgun suppression list, either all at once for a domain or a single address.

    3 fields

  • Get Domain Health

    Fetch the health of a Mailgun domain: current state, whether it has been disabled, and DNS verification status for sending and receiving records.

    1 field

  • Custom API Call

    Make a custom API call to a specific endpoint

    10 fields

Triggers

Mailgun events your agent can watch

These start a run the moment something happens in Mailgun, so work gets picked up on its own.

  • New Bounce Event

    Triggers when an email permanently fails to deliver (hard bounce) in Mailgun

    1 field

  • New Complaint Event

    Triggers when a recipient reports an email as spam in Mailgun

    1 field

  • New Delivery Event

    Triggers when an email is successfully delivered in Mailgun

    1 field

  • New Failed Delivery Event

    Triggers when an email temporarily fails to deliver in Mailgun (will be retried)

    1 field

  • New Open Event

    Triggers when a recipient opens an email in Mailgun

    1 field

  • New Click Event

    Triggers when a recipient clicks a tracked link in an email in Mailgun

    1 field

  • New Unsubscribe Event

    Triggers when a recipient unsubscribes from emails in Mailgun

    1 field

  • Bulk Bounce Threshold Exceeded

    Triggers once when too many emails bounce within a set time period. Useful for catching spam attacks or deliverability problems early.

    4 fields

Give your assistant Mailgun

Connect Mailgun once and every tool above is callable from Claude, Cursor or any MCP client, behind the same server URL as 760+ other apps. Free to start.

Mailgun MCP, answered.

No. That is the point of it. One Activepieces server exposes Mailgun alongside every other piece you connect, so your client keeps a single connection.

Yes. Activepieces is open source and free to start, and the MCP server is included on every plan, from the free cloud tier to any self-hosted deployment.

Connect Mailgun in Activepieces, enable the server under Settings → MCP Server, then paste your server URL into your client config. It authenticates over OAuth on first use.

It can call 9 tools, including Send Email, Validate Email, Add Mailing List Member, and chain them with steps in other apps inside the same run.

Connections use OAuth2 with limited scopes and are stored under 256-bit encryption, with no API to read them back, so an agent gets scoped access rather than your keys.