Integrations
Datadog
Overview
Monitor email performance alongside application metrics with the Datadog integration for Mailgun.
Stream Mailgun events to Datadog in real time, access prebuilt dashboards, and set up automated monitors for rapid incident response. Correlate email failures with app errors, track campaign health, and protect sender reputation from one dashboard.Â
KEY FEATURES AND BENEFITS:
- Real-time forwarding of Mailgun events to Datadog logsÂ
- Prebuilt dashboards for delivery, bounce, open, and click metricsÂ
- Monitor and alert on spikes in bounces, failures, and unsubscribesÂ
- Enrich logs with tags for cross-service analysisÂ
- Automate downstream workflows from Datadog monitorsÂ

Use Cases
How teams use the Datadog integration for Mailgun
Alert on bounce rate spikes
Track campaign engagement
Correlate email failures with app errors
Trigger automated workflows
How To Enable The Integration
Set up the Datadog integration for Mailgun in minutes
Connect Mailgun and Datadog through webhooks – no code required.
Step 1: Install the Mailgun integration in Datadog and connect your Mailgun domain, region, and API key.
Step 2: Copy the Datadog webhook URL from the integration’s Logs section.
Step 3: In Mailgun, navigate to Sending → Webhooks → Add webhook.
Step 4: Finalize event setup. Choose event types, paste the URL, and save. Repeat for additional events as needed.Â
Why Sinch Mailgun
Correlate email performance with application and infrastructure telemetry in one platform
Real-time visibility
Faster resolution
Workflow automation
FAQs
Common questions about the Datadog integration
The integration forwards all Mailgun events to Datadog logs, letting you track delivery and bounce rates in real time, set automated alerts, and visualize trends in dashboards.
You can monitor delivered emails, opens, clicks, soft and hard bounces, permanent failures, unsubscribes, and complaints – each configured via webhooks.Â
Yes. Enrich email logs with tags and analyze them alongside application and infrastructure metrics for deeper insight and faster root-cause analysis.Â
The integration is free. Standard Mailgun and Datadog pricing applies based on your usage and plans.Â
Events are delivered in real time via webhooks and appear in Datadog logs within seconds.Â
You need a Mailgun account with webhooks enabled and an active Datadog account with Log Management.Â