Email inboxes for AI agents: let your agent sign up and verify by itself
AI agents can now write a feature, start your app and click through it. Then most of them stop at the same place: "Check your email". An agent that has its own inbox doesn't have to stop.
Why agents get stuck on email
Almost every app sends an email somewhere in its main flows: a confirmation link after signup, a 6-digit login code, a password reset link, a magic link. A person opens their inbox and clicks. An agent can't, unless you give it a way to read mail.
The usual workarounds are all bad. Pasting codes into the chat breaks the loop you wanted the agent to run alone. Giving it your personal mailbox is a privacy risk. Turning off verification in development means you never test the part that breaks most often in production.
What an inbox for agents looks like
QuickInbox gives every account one or more namespaces. A namespace receives mail at any address of the form namespace.anything@quickinbox.net, so an agent can invent a brand-new address for every test with nothing to register first. The agent then reads that mail through an MCP server, which is the standard way AI apps connect to outside tools.
The server gives the agent six small, read-only tools:
quickinbox_generate_test_address: makes a fresh address in your namespace, such asacme7x.signup-test@quickinbox.net.quickinbox_get_verification: finds the code or the link in the newest matching email.quickinbox_get_emails: reads the latest emails, optionally for one address only.quickinbox_list_namespaces,quickinbox_whoamiandquickinbox_about: tell the agent what it can use.
None of them can change settings, manage keys or send email. The agent can only make addresses and read what arrives, which is exactly what a test needs.
What agents can do with it
- Test a signup end to end. Make an address, fill the form, read the code, confirm the account.
- Check a password reset. Trigger the reset, follow the link from the email, set a new password.
- Log in with a magic link or an email code. See magic link testing with an AI agent.
- Review your emails. "Show me the last three emails my app sent and tell me if any link points to localhost."
Connect it in two minutes
Create a free account, make an API key on the API Keys page, then add the server to your tool. In Claude Code it's one command:
claude mcp add --transport http quickinbox https://quickinbox.net/mcp \
--header "Authorization: Bearer qk_live_your_key_here"Guides for other tools: Claude Code, Cursor, Codex and VS Code Copilot. To check it works, ask the agent "Which QuickInbox account are you connected to?"
Keep it safe
Give the agent its own API key, scoped to one namespace, so it only ever sees its own test inboxes and you can revoke it alone. More in safe API keys for AI agents.
Related guides
- Claude Code: test signup email verification with an MCP server
- Cursor: let your AI agent read verification codes
- OpenAI Codex: read test emails with an MCP server
- VS Code Copilot agent mode: add an email MCP server
- MCP server overview
Try it: the QuickInbox MCP server is included on every plan, including the free plan with 5,000 emails a month. Create a free account, make an API key and connect your agent in two minutes.