Sales Agent's reply triage began as keyword rules, and keyword rules read agent-written replies right only 66 to 83% of the time. Two kinds of mail need no guessing, because the mail system labels them.
- A delivery-status report (RFC 3464) says
Status: 5.x.xfor a permanent failure and4.x.xorAction: delayedfor a temporary one, andFinal-Recipientnames the address that failed. Before, a bounce came frommailer-daemon, so the agent could not say whose address was bad. Now the right prospect is marked bounced, and a delayed message only pauses. Auto-Submitted: auto-replied(RFC 3834) orX-Autoreplymarks an auto-responder, so "I am back on 2 November" pauses the cadence until then.
Everything still only reduces contact. The tests use hand-built messages, not a real server's output, and the README says so. Code: ventures/sales-agent/self-host/imap.mjs and engine.mjs.