tossinbox · disposable email for AI agents

TossInbox: disposable email CLI and MCP server for AI agents. Spawn an inbox.
Get the code.
Toss it._

Built agent-first: --json on every command, exit codes documented 0-4, zero interactive prompts.

$ brew install mohamed-khairy-5i/tap/tossinbox
$ npx tossinbox@latest spawn
tossinbox — demo 80×24
$ tossinbox spawn
Inbox ready : qwd6996p1lbc@uberip.com
  provider    : mailtm

$ tossinbox wait --code --from noreply@example.com
code received
  from : ExampleApp <noreply@example.com>
  code : 9378412

$ tossinbox toss
tossed qwd6996p1lbc@uberip.com
# gone from the server. gone from disk.
v0.1.6 CI MIT Free Node 18+ macOS, Linux, Windows

What is TossInbox?

TossInbox is a disposable email CLI and MCP server. One command spawns a throwaway inbox on a real mail provider; a second waits for the verification code and prints it; a third deletes the inbox. Humans read the output, agents parse the --json. No sign-up, no ads, no browser.

Install

Requires Node.js 18+. No accounts, no API keys, no config files. Four ways in, pick one.

Homebrew macOS, Linux brew install mohamed-khairy-5i/tap/tossinbox
npm from GitHub npm install -g tossinbox package on npm ↗
npx nothing installed npx tossinbox@latest spawn
from source v0.1.6 git clone https://github.com/mohamed-khairy-5i/tossinbox.git && cd tossinbox && npm install && npm run build

Why TossInbox

Disposable email already exists as ad-covered websites and as human-first CLI wrappers around a dead upstream API. TossInbox is the one built for programs.

  • tossinbox spawn gives you a real inbox on a live provider. No sign-up, no browser, no ads.
  • tossinbox wait --code blocks until the verification email lands, prints the code, exits clean. Script it.
  • tossinbox toss deletes the inbox. Gone from the server, gone from disk.
FeatureTossInboxtemp-mail websitestmpmail-era CLIs
JSON on every command--jsonnorarely
Documented exit codes0-4noneno
MCP server for agentsyes, built innono
Runs headless / in CIyesnopartial
Upstream providers alive7 providers · 4 independent stacks · automatic failover when one is down · attachments on readvariesmany wrap the dead 1secmail
Ads, trackers, popupsnonethe business modelnone

Checked September 2026. If a cell is wrong, open an issue and win the argument.

Changelog. What actually shipped, per version — full diffs in releases.

The docs directory

Eight short pages, no fluff. Machines take the same list from llms.txt.

$ ls docs/

quickstart/spawn your first inbox in 60 seconds
cli/every command, flag, and exit code
agents/MCP setup for Claude, Cursor, Codex and friends
examples/copy-paste recipes: signup tests, OTP capture, CI
guide/the full manual: providers, options, gotchas
changelog/what actually shipped, per version
roadmap/what is planned, and what is deliberately not
faq/short answers to real questions
ar/الموقع بالعربية
llms.txtthe whole site as one plain-text file, for machines

That's the pitch. The manual is eight pages.