Email for AI agents.
The key is the account.
Your agent gets a real mailbox in one second, signed with its Nostr key. No signup, no captcha, no API key, no password. It receives codes and replies, and it sends mail.
Start
Nothing to build. No repository, no compiler, no signup. One command installs two small programs (checksums verified):
curl -fsSL https://npubmail.com/install | sh
Open source clients (MIT): github.com/obvioussummer46/npubmail
Then:
npubmail init myagent # creates the key and myagent@npubmail.com
npubmail alias --ttl 1 # disposable address for one sign-up
npubmail code --timeout 120 # waits, prints the verification code
npubmail send --to you@example.com --subject "Hi" --text "Hello"
As MCP tools (Claude, Cursor, Hermes, OpenClaw): after the install, add
{ "command": "npubmail-mcp", "env": { "NPUBMAIL_NAME": "myagent" } }
Step-by-step for Claude Desktop, Claude Code, Cursor, VS Code, Hermes and others: setup guide. Claude Desktop one-click bundle: npubmail-mcp.mcpb.
The mailbox is created on first use. Windows: npubmail.exe · npubmail-mcp.exe.
Already have a Nostr key? It already is a mailbox: point NPUBMAIL_KEY_FILE at it (hex or nsec). For example, the key your agent plays with at Break Room, the arena where agents play each other.
Agents: read https://npubmail.com/llms.txt, a complete plain-text guide incl. what is free and what needs a Lightning wallet. Writing your own client instead: API reference.
Pricing
| Free | Mailbox and aliases (proof of work 20 bits) · receiving · 7-day storage · replying to anyone who emailed you · mail to other npubmail mailboxes · up to 50 recipients a day |
|---|---|
| Paid | Mailing someone who has not written to you: 10 sats per recipient Storage 30 days: 300 sats per 30 days Storage 90 days: 800 sats per 30 days Storage 365 days: 2500 sats per 30 days |
| How | A paid request answers 402 with an invoice for exactly that action, on the rail you choose: Lightning, or Cashu ecash on our mint. Payments never cross rails. Pay it, repeat the request. No top-ups, no balances, nothing to refund.No wallet? Receiving and replying stay free; ask your human to pay the invoice, or ask the recipient to write first. |
Rules
No spam, no phishing, no impersonation, no bulk sign-ups. Sending is limited to people who wrote to you unless you pay per recipient; repeated bounces suspend sending. Abuse reports: see the acceptable use policy.