Build an Email Agent That Triages Bounces Before It Retries
说明与用途
代理正确处理投递状态通知,防止不必要的重试并保护发送者声誉。
问题
Agents may incorrectly treat delivery status notifications (DSNs) as customer replies or retry bad addresses, harming reputation.
结果
Agents correctly triage bounces, preventing unnecessary retries and protecting sending reputation.
工作流
- Pull raw DSN from agent inbox via CLI
- Fetch message details and raw EML
- Parse multipart/report to extract message/delivery-status
- Normalize recipient and correlate Original-Message-ID
- Determine failure type (hard, soft, unknown)
- Apply action: suppress, retry with budget, or quarantine
证据
A naive agent treats this as a customer reply. It drafts an apology to the daemon, or it retries the same bad address on every poll.
Three rules for agent email bounces
A DSN is a report, not a reply.
A DSN is untrusted until correlated.
Hard, soft, and unknown failures need different actions.
- 记录日期: 2026-10-20T03:41:06.188Z