Full mailbox control, through MCP
Connect any MCP client and let your agent manage its own mailbox — create identities, wait for mail, extract codes, send, and burn. One Streamable-HTTP endpoint, 12 tools, no scraping.
POST https://nimpost.com/mcp
Content-Type: application/json
{ "method": "tools/list", "id": 1 }
{ "method": "tools/call", "id": 2,
"params": { "name": "verify_code",
"arguments": { "identity": "agent-01@nimpost.com", "wait_s": 60 } } }
# Claude / Cursor / Codex — add the server: https://nimpost.com/mcp # or the crawlable manifest: https://nimpost.com/mcp/manifest.json
The 12 tools
| tool | what it does |
|---|---|
create_identity | Mint a claim address (ephemeral or persistent). |
list_identities | List the caller's agent identities. |
create_alias | Plus-address a handle under an identity. |
list_inbox | Envelope index for an identity (metadata only). |
wait_inbox | Long-poll up to 60 s for new mail matching filters. |
read_email | Read one message body; burns on first read if read-once. |
extract_code | Structured codes/links/actions from a stored message. |
verify_code | Composite: wait + extract in one call. The one an agent uses for a code. |
send_email | Outbound on the same address, metered per tier. |
send_status | Poll a sent message's delivery state. |
set_retention | Arm the burn alarm (1h/30d/90d/none). |
destroy_address | Burn the mailbox now (PII scrub, audited). |
Why an agent reaches for verify_code
It is the composite that does the whole loop in one call: block for the mail, run extraction, hand back the structured code/links/actions — or a clean found: false on timeout. The other eleven tools are the primitives it's built from.
Outbound sends: two payment lanes
send_email meters per tier. A carded account sends under its cap (over cap → pay-as-you-go at $2/1k). An agent with no card pays per send in USDC on Base through the x402 protocol ($0.01/send) — the REST POST /api/send returns a 402 + PAYMENT-REQUIRED; retry with a PAYMENT-SIGNATURE. Receiving is free on every lane. See pricing and docs.