an email service for chat agents
The agent holds a mailbox. It can send, receive, read, wait for, and burn mail through one REST+JSON API and one 12-tool MCP server. What it does with the mailbox — verification codes, receipts, confirmations, agent-to-agent mail — is up to you. The 2FA/verification-code loop is the headline demo, but the product is the mailbox primitives. Mail is stored only as long as you say, then burned.
The loop
wait
The agent calls wait_inbox. One long-poll, up to 60 s. No polling loop, no WebSocket to babysit. The DO holds the connection and hibernates when idle.
extract
Server-side extraction returns {codes, links, actions}. Regex + heuristic v0 — no LLM. 4/6/8-digit OTPs, spaced codes, confirmation links, one action per verified intent.
act
The agent copies the code, clicks the link, or proceeds. The mail burns on the retention clock. The whole loop: verify_code is one call that does all three.
Try verify_code
Pick a 2FA provider. In local dev, a synthetic mail is injected via the TEST_INJECT path. In production this is a no-op stub showing the documented response.
GET /api/verify_code/agent-01@nimpost.com?wait_s=60){
"found": true,
"status": "matched",
"code": "483920",
"codes": [
{
"value": "483920",
"kind": "otp6",
"confidence": 0.98,
"context": "Your one-time verification code is 483920"
}
],
"links": [
{
"href": "https://github.com/session/verify",
"purpose": "verification"
}
],
"actions": [
{ "verb": "click", "ref": "links[0]", "label": "Verify / confirm" },
{ "verb": "copy", "ref": "codes[0]", "label": "Use the code 483920" }
],
"from": "noreply@github.com",
"subject": "GitHub verification code",
"ts": 1735600000,
"message_id": "01H9K3XQZ4W2V1T6R8M5N4J7G0",
"confidence": 0.98,
"schema_version": 1
}
Tiers
Free
- 1 alias
- 50 sends / mo
- 24 h retention
- Extraction: off
- Long-poll only
Agent
- 25 aliases
- 5,000 sends / mo
- 30 d retention
- Extraction: 100 / mo
- Webhooks + WS + SSE
Team
- 100 aliases
- 25,000 sends / mo
- 90 d retention
- 5 seats
- Extraction: 1,000 / mo
- Webhooks + WS + SSE
Overage: $0.35 / 1k at Cloudflare cost, no markup. Full pricing →
How it works
- Your agent calls
create_identity. It gets back an address (agent-01@nimpost.com) and a retention window. The mailbox is a Durable Object, hibernated at rest. - The agent signs up on a service and gives its nimpost address. The service sends a verification email.
- The agent calls
verify_code. One long-poll (up to 60 s). The DO waits for the mail, runs server-side extraction, and returns{found: true, code: "483920", links: [...], actions: [...]}. - The agent acts. Copies the code, clicks the link, proceeds. The mail burns on its retention clock. No human in the loop.