- Send emails through Mailgun while using SendPost’s unified API
- Receive and process Mailgun events (opens, clicks, bounces, etc.) in SendPost
- View all email analytics in one centralized dashboard
- Apply SendPost’s intelligent routing and throttling to your Mailgun traffic
Why Use Mailgun with SendPost?
| Feature | Mailgun Alone | Mailgun + SendPost |
|---|---|---|
| Multiple ESP management | ❌ | ✅ Unified dashboard for all providers |
| Cross-provider analytics | ❌ | ✅ Compare performance across ESPs |
| Advanced throttling | Basic | ✅ Per-provider rate limiting (Gmail, Yahoo, etc.) |
| Failover routing | ❌ | ✅ Automatic fallback to other providers |
| Centralized event logs | ❌ | ✅ All events in one place |
| Sub-account management | Limited | ✅ Flexible sub-account hierarchy |
What’s Covered in This Guide
Setting Up
Configure Mailgun as a provider in SendPost with automatic webhook setup
Sending Emails
Send emails through Mailgun using the SendPost API with IP Pool routing
Event Types
Understand Mailgun event types and how they map to SendPost
Analytics
Track opens, clicks, bounces and configure rate limiting
Troubleshooting
Common issues, FAQs, and getting help
Quick Reference
Key Endpoints
| Purpose | URL |
|---|---|
| Send Email | POST /api/v1/subaccount/email/ |
| View Events | SendPost Dashboard → Events |
Setup Checklist
1
Create Mailgun API Key
Create API key with full access permissions in your Mailgun account
2
Add Provider
Add Mailgun provider in SendPost dashboard with your API key and domain
3
Configure IP Pool
Create an IP Pool in SendPost configured to route traffic to Mailgun
4
Whitelist Domain
Whitelist your sending domain in SendPost (same domain used in Mailgun)
5
Test
Send a test email with the
ippool parameter6
Confirm Events
Confirm events appear in SendPost analytics