Skip to content
Mailgun logo

Mailgun integration

Communication · 9 actions · API key auth

Transactional email API for sending, receiving, and tracking email

The ModuleX Mailgun integration lets a ModuleX agent operate Mailgun on your behalf, running create, send and remove actions across emails, mailinglist members and routes, directly from a plain-English request, using your organization's own Mailgun credentials. No pre-built workflow is required: the agent picks the right Mailgun action for the task.

Mailgun is a communication platform. ModuleX adds the agent layer: ask for an outcome and it selects and runs the right Mailgun action. Or, when you want a repeatable process, the composer assembles a Mailgun workflow for you, streaming the nodes onto the canvas as it builds.

Drive Mailgun in plain English

Type what you want. A ModuleX agent picks the right Mailgun action, or chains several, and runs it. No workflow to build.

  • Add a member to an existing Mailgun mailing list
    resolves tocreate_mailinglist_member
  • Find the mailinglist member I describe and remove it
    resolves tolist_mailinglist_membersdelete_mailinglist_member
  • Send an email via Mailgun
    resolves tosend_email
  • Show me the domains that match what I describe
    resolves tolist_domains

What you can automate with Mailgun

  • Find the right mailinglist member and remove it in one promptlist_mailinglist_membersdelete_mailinglist_member
  • Send an email where it needs to gosend_email
  • Create a route straight from a requestcreate_route
  • Pull a list of domains for a reportlist_domains

Mailgun integration at a glance

VendorMailgun
Actions available9
AuthenticationAPI key
Uses your own credentialsYes
Works with the assistantYes
Works in the composerYes
Multi-step / tool-chainingYes
Technical referenceView docs
Integration version1.0.0
Last updatedJul 2026

All 9 Mailgun actions

Emails2
send_email
Send an email via Mailgun
verify_email
Verify an email address for deliverability using Mailgun's validation API
Mailinglist Members4
create_mailinglist_member
Add a member to an existing Mailgun mailing list
delete_mailinglist_member
Delete a member from a Mailgun mailing list by email address
list_mailinglist_members
List all members of a Mailgun mailing list
retrieve_mailinglist_member
Get details of a specific mailing list member by email address
Routes1
create_route
Create a new Mailgun route for email matching and forwarding
Domains1
list_domains
List all domains configured in the Mailgun account
Suppress Emails1
suppress_email
Add an email address to a Mailgun suppression list (bounces, unsubscribes, or complaints)

See full parameters and response schemas in the Mailgun integration docs

Two ways to use Mailgun in ModuleX

Ask the assistantType what you want done and a ModuleX agent picks the right Mailgun action and runs it. No workflow to build.
Compose a workflowNeed it to happen every time? Describe the process and the composer wires Mailgun into a repeatable workflow you can run on a schedule, from chat, or as an API.

Connecting Mailgun

API keyMailgun uses API-key authentication. You provide your own Mailgun secret key; ModuleX encrypts it and scopes it to your organization, so your whole team can use Mailgun without re-authenticating.

Step-by-step setup in the Mailgun docs

Works with Mailgun

Agents often chain Mailgun with these. Connect them once and one agent can use all of them in a single task.

Mailgun + ModuleX FAQ

  • A ModuleX agent can run any of Mailgun's 9 actions, across emails, mailinglist members, routes and domains, from a plain-English request, using your organization's own Mailgun credentials.

Put Mailgun to work in ModuleX.

Connect Mailgun once with your own credentials and let your agent run all 9 actions on demand.

Last updated: Jul 2026Browse all 179 integrations