> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wappigate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Email Bounce Handling

> Let your provider tell the platform about bounces, spam complaints, opens and clicks.

## What is this?

Your email provider knows when an email is delivered, bounces, is marked as spam, opened or clicked. **Bounce handling** connects it to your workspace so those people stop getting email and your campaign reports fill in. It needs a **one-time setup** in the provider, done per sender.

> [!NOTE]
>
> Until you finish the steps, bounces and complaints are not recorded and every notification from the provider is refused. Setting it up needs the email edit permission.

## What can I do here?

* See whether notifications are **Not set up yet**, set up but waiting, or **Working**
* Create and copy your private **Notification URL**
* Save the **verification key** that SendGrid or Mailgun gives you
* Follow step-by-step instructions for your provider

## How to use it

**1. Open Bounce handling**

Go to **Email Marketing → Settings → Bounce handling** and choose the **Sender**. The page shows the **Email service provider** and its state.

**2. Create the URL**

Click **Create the URL**. It contains a private key that proves a notification is genuine, so don't share it. Use **Copy the URL**, or the eye icon to show or hide it. **Create a new URL** replaces it; the old one stops working, so paste the new one into your provider.

**3. Follow the steps for your provider**

The tab shows **Steps in** your provider. A summary:

| Provider | What to do |
| - | - |
| **SendGrid** | Settings → Mail Settings → Event Webhooks → Create new webhook. Paste the URL as the HTTP Post URL. Select Delivered, Bounced, Dropped, Spam Reports and Unsubscribes (add Opened and Clicked if you track them). Turn on Signature Verification, save, copy the **Verification Key** and paste it into **SendGrid verification key** here |
| **Mailgun** | Sending → Webhooks → your domain. Add a webhook for Delivered, Permanent failure, Temporary failure, Spam complaints and Unsubscribes (plus Opened and Clicked), each with the URL. Copy the HTTP webhook signing key from API security and paste it into **Mailgun webhook signing key** here |
| **Postmark** | Your server → Webhooks → Add webhook. Paste the URL, select Delivery, Bounce, Spam complaint and Subscription change (plus Open and Click), and save |
| **Brevo** | Transactional → Settings → Webhooks → Add a new webhook. Paste the URL and select Delivered, Hard bounce, Soft bounce, Invalid email, Blocked, Spam and Unsubscribed (plus Opened and Click) |
| **Amazon SES** | Create a configuration set with an Amazon SNS event destination for Delivery, Bounce and Complaint (plus Open and Click). In SNS, create a topic and an HTTPS subscription with the URL as the endpoint; it confirms itself. Make that configuration set the default of your sending identity, or send with it |
| **ZeptoMail** | Mail Agent → Webhooks → Add webhook. Paste the URL as the Webhook URL, leave the authorization headers empty and click Verify (it must answer OK). Select Soft bounces, Hard bounces and Feedback loop (plus Open and Click), then Add |

**4. Send an email and check the state**

The state changes from **Not set up yet** to *Set up. No notification has arrived yet* and then to *Working*, showing when the last notification arrived and the last 7 days' notifications and bounces.

### What the platform does with notifications

A hard bounce, a spam complaint or an unsubscribe changes the contact's email status, and the contact stops receiving email. Three soft bounces within 30 days count as a bounce. Deliveries, opens and clicks fill the campaign reports.

## Troubleshooting / Technical Notes

* **"This key does not look right for this provider."** Copy the key again from SendGrid or Mailgun. Other providers need no key.
* **Still "No notification has arrived yet".** Send an email to yourself and check again, and re-check the provider's webhook events and URL.
* **"Notifications from this provider cannot be read yet."** Bounces and complaints from that provider are not recorded.
* **ZeptoMail emails show Sent, never Delivered.** ZeptoMail sends no delivery notices.
* **I created a new URL and notifications stopped.** Paste the new URL into your provider — the old one no longer works.

## Related docs

* [Connect an Email Sender](https://docs.wappigate.com/workspace/email/connect-sender.md)
* [Compliance and Suppression List](https://docs.wappigate.com/workspace/email/compliance.md)
* [Insights and Reports](https://docs.wappigate.com/workspace/email/insights.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.