Clean Bounces
Remove bounced, complained, and unsubscribed contacts from audience segments. Protects sender reputation and keeps lists deliverable. See references/tools-reference.md for exact commands.
Workflow
-
List accounts
- Call
list_email_accountsto get all active accounts
- Call
-
Find flagged sent emails (for each account)
- Call
list_sent_emailswithtag_filter: "bounced OR complained OR unsubscribed" - Collect all matching emails
- Call
-
Extract unique recipients
- From each flagged sent email, extract the recipient email addresses
- Deduplicate across all accounts
-
Remove from audiences
- For each bounced/complained/unsubscribed contact:
- Call
remove_from_audiencewith all segments they belong to
- Call
- This removes the audience segment tags from all messages involving that contact
- For each bounced/complained/unsubscribed contact:
-
Verify improvement
- Call
list_metricsfor each account - Check that bounce rate is below 2% and complaint rate is below 0.1%
- Call
-
Alert on high rates
- If bounce rate > 2%: flag the account:may need to pause sending
- If complaint rate > 0.1%: flag the account:immediate action needed
- Output a summary table with rates per account and flagged accounts
When to Run
- After classify-replies:once replies are tagged, clean bounces removes bad contacts
- Before send-campaign:ensure lists are clean before sending
- When bounce rate exceeds 2%:immediate cleanup needed
- Weekly maintenance:regular hygiene keeps deliverability high
Rate Thresholds
| Metric | Healthy | Warning | Critical | |--------|---------|---------|----------| | Bounce rate | < 1% | 1-2% | > 2% | | Complaint rate | < 0.05% | 0.05-0.1% | > 0.1% |
At critical levels, pause outbound sending from the affected account until the rate drops.
Scan to join WeChat group