Trotta Mail, secure email inboxes for AI agents Trotta Mail launched a developer API at api.trotta.email/v1 that gives AI agents a screened email inbox through a single unauthenticated call to POST /v1/agents/signup, returning an organization, inbox, API key and claim URL. The service screens inbound mail before delivery, strips text hidden from humans, fences off instructions aimed at models, defangs risky links, and exposes parsed verification codes and links via extracted.codes and extracted.verify_links, with a GET /v1/inboxes/{id}/wait endpoint that holds until a matching message arrives. Agent-plan accounts are limited to 50 sends per day and 2 inboxes, and thread context is wrapped in per-response boundary tags so sender-written text cannot close the block. Quickstart for agents The secure pre-delivery inbox for AI agents and humans. An agent gets a working inbox with one call, and every message sent to it is screened before it lands. A mailbox for yourself takes no code: see the quickstart for humans https://trotta.email/docs/quickstart-humans . The API lives at https://api.trotta.email/v1 . get-an-inbox Get an inbox POST /v1/agents/signup needs no key and no body. It returns an organization, an inbox and an API key. Send name to choose the address. {"name": "..."} picks the address curl -X POST https://api.trotta.email/v1/agents/signup \ -H "Content-Type: application/json" \ -d '{}' { "api key": "tm live 9fK2c0aW...", "organization": { "id": "org 5mTz81Qd", "plan": "agent" }, "limits": { "send per day": 50, "inboxes": 2 }, "inbox": { "id": "inb 7Qh2mXc4", "address": "riley@trotta.email", "kind": "agent", "guard mode": "guard" }, "claim url": "https://trotta.email/claim tmc 8HEoz36w..." } Keep the api key . It is shown once. Send it as Authorization: Bearer tm live ... , or put it in TROTTA MAIL API KEY and the SDKs and the CLI pick it up. wait-for-mail Wait for mail GET /v1/inboxes/{id}/wait holds the request open until the next message is delivered, or the timeout passes. Filter with from , subject or has code . Without after , a wait counts only mail that arrives once it has started, and a code can arrive before your agent starts waiting. Note the time before it asks for the code and pass it as after an ISO time, or a message id . The wait then returns the first match since then, even one that is already there. Note the time first, so a fast code is not missed. SINCE=$ date -u +%Y-%m-%dT%H:%M:%SZ ...your agent submits the sign-up form... curl -G https://api.trotta.email/v1/inboxes/inb 7Qh2mXc4/wait \ -d has code=true -d after=$SINCE -d timeout=60 \ -H "Authorization: Bearer $TROTTA MAIL API KEY" Codes and links are already parsed: read extracted.codes and extracted.verify links . On a timeout the call returns { "message": null, "timed out": true } . Call it again. If a matching message is held for review, the wait ends at once with held a notice, none of the mail's content and held matching , a count; the SDKs throw MessageHeldError . A human releases held mail in the app. To wait past it, pass its id as after . read-it-safely Read it safely A key reads the safe view: only what a human could see, with hidden text removed, instructions aimed at a model fenced off and risky links defanged. Each message carries its verdict https://trotta.email/docs/concepts verdicts . To hand a whole conversation to a model, ask for the thread context. It is one text block with a trust level. Its tags end in a boundary that is new for every response, so nothing a sender wrote can open or close one. curl https://api.trotta.email/v1/threads/thr 2bN8pLw1/context \ -H "Authorization: Bearer $TROTTA MAIL API KEY"