Prompt
How do I handle bounces and complaints with an email service?
Latest observation
To handle bounces and complaints well, you want a process that’s mostly automated, fast, and strict about list hygiene.
1) Set up webhook/event processing
Most email services (SES, SendGrid, Mailgun, Postmark, etc.) can send you events for:
- Hard bounce: invalid address, domain doesn’t exist, mailbox unknown
- Soft bounce: temporary issue like mailbox full or server unavailable
- Complaint: recipient marked your email as spam
Use these events to update your database or suppression list in near real time.
2) Treat hard bounces as permanent
If you get a hard bounce:
- Mark the address as invalid
- Stop sending to it immediately
- Add it to a suppression list
- Don’t re-import it from other lists unless there’s explicit evidence it was corrected
Why: repeatedly sending to bad addresses hurts deliverability and can get your domain/IP reputation damaged.
3) Handle soft bounces with retry logic
For soft bounces:
- Retry a few times with backoff
- Track bounce count per recipient
- If it keeps bouncing over multiple attempts, suppress it temporarily or permanently
Common approach:
- Retry for 24–72 hours
- After 3–5 soft bounces, stop sending
4) Suppress complaints immediately
For complaints:
- Unsubscribe the recipient right away
- Add them to a complaint suppression list
- Never send marketing mail again unless they explicitly re-opt in
Complaints are especially important because they’re a strong negative signal to mailbox providers.
5) Separate transactional and marketing email
Use different categories or streams for:
- Transactional: receipts, password resets, order confirmations
- Marketing: newsletters, promotions
This helps protect important mail if marketing mail gets complaints.
6) Monitor bounce and complaint rates
Keep an eye on:
- Bounce rate
- Complaint rate
- Delivery rate
- Open/click rates if relevant
Rough guidance:
- Complaint rate should be extremely low
- High bounce rates usually mean poor list quality or bad acquisition practices
If rates spike, pause campaigns and investigate.
7) Clean your list proactively
Good practices:
- Use double opt-in where possible
- Validate emails at signup
- Remove long-inactive users
- Avoid purchased/rented lists
- Reconfirm stale subscribers before sending again
8) Use provider suppression features
Many services have built-in suppression lists. Use them, but also maintain your own app-level suppression logic so you don’t rely only on the provider’s internal state.
9) Log and audit everything
Store:
- Recipient email
- Message ID
- Event type
- Timestamp
- Reason/code from the provider
- Action taken
This helps with debugging and compliance.
10) Respect unsubscribe and compliance rules
Complaints are not the same as unsubscribes, but both should stop marketing mail. Also make sure you comply with:
- CAN-SPAM
- GDPR/UK GDPR
- CASL
- Other local email rules depending on your audience
Simple recommended workflow
- Send email
- Receive provider events
- On hard bounce → suppress permanently
- On soft bounce → retry with limits
- On complaint → unsubscribe immediately
- Sync suppression lists across systems
- Monitor trends and pause if metrics worsen
If you want, I can also show you:
- a database schema for bounce/complaint tracking,
- an example webhook handler in Node/Python,
- or provider-specific setup for SES/SendGrid/Mailgun.