Connect Mailgun to Your AI Agent

Provide a sending domain and message details or inspect events for an existing message.

17 tools API key

Try a Mailgun Task

Copy a prompt into your agent with the oo Skill installed. Add your page links and source notes before running it.

oo Skill Mailgun

Send a Specified Email

Send supplied content through a chosen Mailgun domain.

/oo Mailgun: Send a Mailgun email through domain [sending domain], from [sender email] to [recipient email], subject “[subject]”, with this plain-text body: [message]. Show the message ID and acceptance result.

Investigate a Message’s Delivery

Read events for a selected message and explain delivery or failure evidence.

/oo Mailgun: Read Mailgun events in domain [sending domain] for message [message ID] between [start time] and [end time]. Summarize delivery and failure events, distinguishing acceptance from delivery.

Start Working with Mailgun

  1. Install OOMOL

    Set up oo CLI and the oo Skill in your agent.

    Install OOMOL →
  2. Connect Mailgun

    Connect a Mailgun private API key.

    Connect Mailgun →
  3. Give Your Agent a Task

    Use /oo with the pages to read, the changes to make, and where to save the result.

    Connection Guide →

Choose Your Agent

  • A private key with access to the sending domain; choose the EU API base URL for an EU account.
  • A successful send response indicates acceptance, not inbox delivery. Delivery and failure events provide subsequent evidence.

Mailgun Tools

This connection manages Mailgun domain settings, message sending, delivery events, suppression records, and stored template versions.

Sending and Delivery Events

Send email content or stored templates and query delivery, engagement, and failure events.

Domains, Suppressions, and Templates

Inspect domain DNS and tracking, maintain suppression or allowlist entries, and read or create stored templates and versions.

17 tools

List Domains

List Mailgun domains available to the current API key.

mailgun.list_domains

Get Domain

Get Mailgun domain details including DNS records and sending state.

mailgun.get_domain

Verify Domain

Ask Mailgun to verify DNS records for a sending domain.

mailgun.verify_domain

Get Domain Tracking Settings

Get open, click, unsubscribe, and web scheme tracking settings for a domain.

mailgun.get_domain_tracking_settings

Update Domain Tracking Settings

Update open, click, or unsubscribe tracking settings for a Mailgun domain.

mailgun.update_domain_tracking_settings

Send Email

Send an email through Mailgun using a stored domain.

mailgun.send_email

List Events

List delivery, engagement, and failure events for a Mailgun domain.

mailgun.list_events

List Suppressions

List records from a Mailgun suppression or allowlist table.

mailgun.list_suppressions

Get Suppression

Get one Mailgun suppression or allowlist record.

mailgun.get_suppression

Add Suppression

Add one Mailgun suppression or allowlist record.

mailgun.add_suppression

Delete Suppression

Remove one Mailgun suppression or allowlist record.

mailgun.delete_suppression

List Templates

List templates stored for a Mailgun domain.

mailgun.list_templates

Get Template

Get metadata for one Mailgun template and optionally its active version.

mailgun.get_template

Create Template

Create a Mailgun template and optionally its initial active version.

mailgun.create_template

List Template Versions

List versions for a Mailgun template.

mailgun.list_template_versions

Get Template Version

Get content and metadata for one Mailgun template version.

mailgun.get_template_version

Create Template Version

Create a new version for a Mailgun template.

mailgun.create_template_version

Frequently Asked Questions

Can I send using a stored template?

Yes. Supply the sending domain, template name, recipients, and values needed by the template. A selected version can also be specified.

How do I investigate a failed delivery?

Provide the domain, message ID or recipient, and time range. Ask to inspect failure events and their available error details.

Does removing a suppression send a message?

No. It removes the chosen suppression or allowlist entry. Sending requires a separate email operation.

Connect Mailgun

About Mailgun ↗