# Mailgun Email Reporting Tool & MCP Connector | Datapipe

> Monitor Mailgun delivery, failures and suppressions across US and EU. Track daily accepted, delivered, permanent and temporary failure, open, click, unsubscribe and complaint metrics across your Mailgun account alongside domain health, event logs and suppressions.

Page: https://trydatapipe.com/integrations/mailgun
Site index: https://trydatapipe.com/llms.txt

## What Datapipe reads from Mailgun

- Reads: 35 report fields across 6 datasets
- Setup: Paste a key or token
- Refresh: daily to every 15 minutes
- Changes: none, read-only

### Reports

- **Mailgun daily email metrics**: Daily accepted, delivered, failed, opened, clicked, unsubscribed and spam complaint counts across your Mailgun account in the report dates.
- **Mailgun domains**: Current inventory of sending domains on your Mailgun account with verification state, type and TLS settings, not filtered by the report date.
- **Mailgun event log**: Delivery, open, click, failure and rejection events from Mailgun in the report dates.
- **Mailgun bounces**: Current inventory of suppressed hard-bounced recipient addresses for your Mailgun domains, not filtered by the report date.
- **Mailgun unsubscribes**: Current inventory of unsubscribed recipient addresses for your Mailgun domains, not filtered by the report date.
- **Mailgun spam complaints**: Current inventory of spam complaint addresses recorded on your Mailgun domains, not filtered by the report date.

### Metrics and fields

Date, Accepted, Delivered, Permanent Failures, Temporary Failures, Opens, Clicks, Unsubscribes, Spam Complaints, Delivery Share, Domain, Domain State.

## Changes your assistant can make in Mailgun

Mailgun is read-only in Datapipe.

## Set up the Mailgun MCP connector

1. Add Mailgun as a data source in Datapipe.
2. Add the MCP connector address `https://trydatapipe.com/mcp` in ChatGPT or Claude under Plugins, or in Grok under Connectors.
3. Sign in to Datapipe and choose the project your assistant can use.

Mailgun daily delivery and engagement metrics, sending domains, event logs, bounces, unsubscribes and spam complaints. Mailgun is read-only in Datapipe.

Assistant setup guide: https://trydatapipe.com/docs?guide=ai-and-mcp

## Every way to use Mailgun data

Add Mailgun once as a data source in a project. Every option below uses the same connection.

### Spreadsheets and BI tools (every plan)

- Google Sheets: a sheet with your Mailgun report that refreshes on its own.
- Excel: a live web query (.iqy) that refreshes the report in Excel.
- Power BI: a live data source file (.pbids) that loads the report.
- Data Studio: charts that read the Google Sheet Datapipe keeps up to date, or a ready-made report template.
- Google Drive: CSV, Excel and optional JSON files in a Drive folder you pick, hourly, daily or weekly.
- CSV and JSON downloads straight from the report.

### Client reports with Report Studio (add-on, free for 30 days)

- Report Studio: build a branded report from Mailgun and your other data sources with drag and drop.
- Export the report as PDF or PowerPoint, with your logo on each report.
- Publish it to your white-label client portal.
- Email it on a schedule: after each refresh, weekly or monthly.
- Approve an edition to keep that period's figures fixed.
- Gemini Enterprise: read the data feeds you publish from Report Studio.

### AI assistants (every plan)

- ChatGPT, Claude and Grok: add the MCP connector at https://trydatapipe.com/mcp and ask about Mailgun in a sentence, next to your other data sources.
- Your assistant can make the Mailgun changes you allow, and those changes can wait for approval.
- With Report Studio, your assistant can draft a report for you to publish.

### Developers (paid plans, from Starter)

- Signed webhooks (HMAC) that send each refresh to your own endpoint.
- The Project API (/api/v1) with scoped project keys to query reports.

### Warehouses and storage (Pro, Agency and Agency Plus)

- BigQuery: A warehouse table for the same columns.
- ClickHouse: Push report rows straight into a ClickHouse table over HTTPS with an API key or user credentials.
- AWS S3: Write fresh report files (NDJSON or CSV) straight into your S3 bucket using IAM access keys.
- Amazon Redshift: Load report rows into Amazon Redshift over HTTPS via the Redshift Data API with IAM access keys.
- Firebolt: Push report rows straight into a Firebolt database over HTTPS using a Service Account ID and secret.
- PostgreSQL: Write fresh report rows straight into a PostgreSQL table using standard database credentials.
- MySQL: Write fresh report rows straight into a MySQL table using standard database credentials.
- Snowflake: Push report rows into Snowflake over HTTPS using a Programmatic Access Token (no OAuth required).
- Databricks SQL: Deliver report rows into Databricks SQL tables using a Personal Access Token and SQL Warehouse ID.
- Cloudflare R2: Write NDJSON or CSV exports directly to your Cloudflare R2 bucket with S3-compatible access keys.

## Works well with Mailgun

- [Stripe](https://trydatapipe.com/integrations/stripe.md): Do Mailgun delivery failures rise on days Stripe billing emails spike?
- [PostHog](https://trydatapipe.com/integrations/posthog.md): Do PostHog onboarding completions drop when Mailgun permanent failures rise?
- [Zendesk](https://trydatapipe.com/integrations/zendesk.md): Do Zendesk login tickets increase on days Mailgun bounces spike?
- [Google Sheets](https://trydatapipe.com/integrations/google-sheets.md): Which Mailgun domains have the highest delivery share this month?

## Questions

### Does Datapipe support Mailgun EU accounts?

Yes. Pick United States or European Union in the region dropdown when connecting.

### Are bounces, unsubscribes and complaints included?

Yes. Each suppression list has its own dedicated dataset.

### Does Datapipe send or modify emails?

No. The Mailgun data source is read-only.

### Are daily metrics pulled across all domains?

Yes. Daily account metrics summarize delivery and engagement across your Mailgun account.

### Does Datapipe have a Mailgun MCP server?

Yes. Add the Datapipe MCP connector in ChatGPT as a custom MCP plugin, or add it as a custom connector in Claude or Grok. Mailgun daily delivery and engagement metrics, sending domains, event logs, bounces, unsubscribes and spam complaints. Mailgun is read-only in Datapipe.

### Why use Datapipe if my assistant can already connect to Mailgun?

Datapipe puts Mailgun in the same project as your other data sources, so one question can compare them over the same dates. Mailgun is read-only in Datapipe, so your assistant reads the numbers without changing anything. When you want the answer every week, your assistant can draft a Report Studio report. Once you publish it, Datapipe refreshes and emails it on your schedule.

### How do I connect Mailgun to Data Studio?

Add Mailgun as a data source in Datapipe, create a report and choose Data Studio (formerly Looker Studio) as the destination. It is included on every plan, there is nothing extra to install, and the report refreshes on its own.

### How much does it cost?

Free to start. Paid plans add more data sources and refresh faster.

### How fresh is the data?

Free and Starter refresh once a day. Pro refreshes every hour. Agency refreshes every 15 minutes on any 50 data sources you pick, Agency Plus on any 100, and hourly on the rest.

### How many data sources does this use?

One for each Mailgun account you add to a project. Adding the same account to another project counts again. Reports and destinations do not use extra data sources.

## Links

- [Mailgun page](https://trydatapipe.com/integrations/mailgun)
- [Start free](https://trydatapipe.com/signup)
- [Pricing](https://trydatapipe.com/pricing)
- [Datapipe facts](https://trydatapipe.com/facts.md)
- [All data sources](https://trydatapipe.com/integrations)
