Skip to main content
An assistant drafts and sends email on a team’s behalf. Internal mail is routine. Anything leaving the company waits for a person, who sees the exact recipient, and the approval is bound to that recipient: an agent that re-plans the address after the yes finds its approval matches nothing.

The policy

runnable

The code

runnable file=main.py

What the agent sees

The approval hashed to, to_domain, subject and message_id together. Any of them changing after the yes is a different action.

The receipt

runnable

When an AMBIGUOUS appears

An SMTP submission that timed out may have been accepted. Check the provider’s message log for m_N, then ctrlrun resolve email:m_N --committed or --failed. The effect key is the message id, so a resend of the same message is one effect and a new message is a new one.

Next