Mailgun

Email Bounce Monitoring for Mailgun

Track Mailgun email delivery in real-time. Monitor bounces, complaints, and failures with automated suppression lists to protect your sender reputation.

Mailgun Integration Features

HMAC signature verification for secure webhooks
Support for all Mailgun event types
Permanent and temporary failure classification
Complaint and unsubscribe tracking
Custom tracking variables support (X-Mailgun-Variables)
Multi-domain monitoring from single dashboard

Supported Mailgun Events

Mailgun EventParseBounce TypeSuppression
failed (permanent)bounceAuto
failed (temporary)deferred
complainedcomplaintAuto
delivereddelivery
openedopen
clickedclick
unsubscribedunsubscribeAuto

Events marked "Auto" are automatically added to your suppression list

How to Set Up Mailgun

Follow these steps to start monitoring your Mailgun emails

1

Go to Mailgun Webhooks Settings

Log in to Mailgun → Sending → Webhooks. Select the domain you want to monitor.

2

Add ParseBounce Webhook URL

Copy your unique Mailgun webhook URL from ParseBounce settings and add it for each event type you want to track.

3

Configure Event Types

Enable webhooks for: Permanent Failures, Temporary Failures, Complaints, Delivered, Opens, Clicks, and Unsubscribes.

4

Copy Webhook Signing Key

Go to Settings → API Security → Webhook signing key. Copy this key and add it to your ParseBounce project settings.

5

Test the Connection

Send a test email and verify events appear in your ParseBounce dashboard.

Frequently Asked Questions

Do I need the webhook signing key?

Yes, the signing key is required for ParseBounce to verify webhook authenticity. Without it, webhooks will be rejected for security reasons.

What's the difference between permanent and temporary failures?

Permanent failures (hard bounces) indicate invalid email addresses and should be removed from your list. Temporary failures are transient issues like full mailboxes that Mailgun will retry automatically.

Can I track custom variables?

Yes! Add X-Mailgun-Variables header with JSON data including parsebounce_id to track custom campaign IDs or batch identifiers.

How do I monitor multiple domains?

You can configure webhooks for each domain in Mailgun. Point them all to the same ParseBounce webhook URL for unified monitoring.

Monitor All Your Email Providers

ParseBounce works with multiple email providers. Use one dashboard for all your email deliverability.