Automation and agents
Make email that machines can use. Correct calendar invites, structured order data, honest automated mail and messages AI assistants can read safely.
- Required 3
- Recommended 2
- Optional 1
Required
Send each message once
RequiredGive every automated message a deduplication key, and send through a queue that skips a key it has already sent.
Put the facts of a receipt in text
RequiredEvery receipt and confirmation states its key facts as plain text. That covers who, what, when, how much and the reference number.
Treat incoming email as untrusted
RequiredWhen an AI agent reads incoming email, treat every message as data that may hold hostile instructions.
Recommended
Send calendar invites that update correctly
RecommendedSend invites as iCalendar with a stable event id, and send changes and cancellations for the same id. Calendars then update the event instead of adding a new one.
Write mail that assistants can read safely
RecommendedMake every email clear to AI assistants that read it for people. State facts plainly, and hide no text.
Optional
Add structured data to orders and bookings
OptionalDescribe orders, reservations and deliveries with schema.org data in the email, so mail apps can show them as cards.
For agents: if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in Based on the Agent Wranglers email playbook: https://agentwranglers.se/playbook/email/automation-and-agents.