EmptyInbox
v1.5.0Zero-config disposable email inboxes for AI agents: create, read mail, await verify codes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
register_account
Register a new EmptyInbox account and get an API key. Use this only if there is no account configured yet, or if authentication is failing. Prefer reusing an existing key: repeatedly registering from one network reduces the free credits each new account receives. Saves the key locally for future sessions.
| Parameter | Type | Description |
|---|---|---|
username | string | Optional username (3-32 chars, letters/numbers/hyphens/underscores). Omit to have one allocated. |
get_quota
Check how many inbox credits remain on this account. When credits are low, the result says how to buy more with Bitcoin.
create_inbox
Create a new disposable email inbox. Returns the email address and when it expires (30 days). Use this before triggering any signup or email verification flow.
keep_inbox
Make an inbox permanent so it never expires, for 30 credits. Use when the address was used to sign up for an account the user will keep (password resets go there). Ask the user first. Also brings back an expired inbox: addresses are never given to anyone else. Free if the inbox is already permanent.
| Parameter | Type | Description |
|---|---|---|
inbox * | string | Inbox email address to keep |
list_inboxes
List all email inboxes on this account, with when each expires (null = permanent) and whether it already has.
list_messages
List received email messages, newest first, already parsed: each entry carries the extracted one-time code, the link to open, and a text preview — no HTML parsing needed. Filter by inbox and use limit to keep responses small.
| Parameter | Type | Description |
|---|---|---|
inbox | string | Filter to a specific inbox email address |
limit | number | Max messages to return (default: 10) |
since | number | Unix seconds — only messages received after this |
get_message
Get one email message by ID. Returns the parsed message: extracted code, action_url, every link with its anchor text, and the body as plain text. Set format='text' for a flat rendering to read directly, or include_html=true only if the raw HTML is genuinely needed.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | Message ID from list_messages |
format | string | json (structured) or text (flat, prompt-ready) |
include_html | boolean | Include the raw html_body in json output (default: false — it is large and rarely needed) |
wait_for_message
Poll an inbox until a new message arrives. Use after triggering an email verification, OTP, or signup confirmation. Returns the parsed message — including the extracted code and the link to open — as soon as it lands, or a timeout result.
| Parameter | Type | Description |
|---|---|---|
inbox * | string | Inbox email address to watch |
poll_interval_seconds | number | Seconds between checks (default: 5) |
require_code | boolean | Keep waiting until a message carries an extracted code or action link |
subject_contains | string | Only match messages whose subject contains this text (case-insensitive) |
timeout_seconds | number | Seconds to wait before giving up (default: 120) |
buy_quota
Buy inbox credits with Bitcoin. Only call this after the user has chosen a bundle or amount. Returns a pay_url to give the user: a page with a QR code, the exact amount and a live payment status, which works with any Bitcoin wallet. Also returns the raw address, amount and BIP21 URI for paying directly. Credits are added as soon as the payment is seen on the network. Call check_payment once the user has paid.
| Parameter | Type | Description |
|---|---|---|
bundle | string | Bundle id from list_bundles (default: starter) |
usd | integer | Spend a custom whole-dollar amount instead of a bundle, from 1 to 100. Priced at the best bundle rate the amount qualifies for. The network fee the payer adds on top is the same whatever the size of t… |
list_bundles
List the inbox credit bundles for sale and their USD prices, paid in Bitcoin. Show these to the user before calling buy_quota.
check_payment
Check whether a Bitcoin payment from buy_quota has landed. Pass wait_seconds (around 120) once the user says they have paid, to wait for the credits in one call. Credit usually arrives within seconds of broadcast, well before confirmation.
| Parameter | Type | Description |
|---|---|---|
address * | string | Payment address returned by buy_quota |
poll_interval_seconds | number | Seconds between checks (default: 5) |
wait_seconds | number | Seconds to keep polling for credit (default: 0, check once) |
report_issue
Send feedback to the EmptyInbox team: a bug, a failed or abandoned payment, confusing docs, or a missing feature. A human reads every report. Use it when a tool fails in a way retrying will not fix, or when the user decides not to buy and says why. Never include passwords, verification codes, API keys or email contents.
| Parameter | Type | Description |
|---|---|---|
message * | string | What you were trying to do, what happened, and what you expected |
category | string | |
contact | string | Email for a reply, only if the user wants one |
context | object | Small extra details, e.g. {"payment_address": "..."} |
error | string | The exact error text, if any |
tool | string | The tool or endpoint involved, e.g. buy_quota |