Glossary · Published 2026-09-29 · AgentiSend team
Loop detection
Loop detection: A hold on a near-identical repeat, and on a send into an inbox a window has collapsed onto.
Before every send the guard reads this key's mail from the last 60 minutes. A candidate that would be the 4th near-identical message to the same recipient is held. Near-identical means subject and body similarity of at least 85%.
On a key set to full, and on a marketing send from a key with no setting, it also holds the next send to an inbox that a window of at least 20 sends has collapsed onto, once that window has fewer than 3 effective recipients. Mail to anyone else still sends. A new key is repetition-only. The hold is an approval queue entry, answered as approval_required.
Related terms
- Approval queue — Sends held for a person to approve or reject. Approving sends the held message.
- Idempotency key — The caller-chosen key that makes a retry of the same request return the first result.