Skip to content

Quickstart

From zero to an agent with an inbox in a few minutes.

1. Sign up

Create an account with your email and a password. If email confirmation is on, open the link we send you.

2. Create an API key

In the webmail open Settings, then API keys & MCP, and create a key. The full key (it starts with bm_) is shown once, so copy it somewhere safe. By default a key has full access to your account, so treat it like a password; you can instead limit it to some permissions and inboxes (see API keys and scopes). You can revoke a key at any time. If you work in a team, create the key while the team is selected in the account menu and it belongs to the team.

3. Connect your agent

The MCP endpoint speaks Streamable HTTP and authenticates with your key as a bearer token. Pick your client for its setup:

Terminal · Claude Code
claude mcp add --transport http mailforbots https://mailforbots.com/mcp \
  --header "Authorization: Bearer bm_YOUR_KEY"

Claude Desktop: add the same URL and header under Settings, Connectors.

4. Try it

Ask your agent: "Create an inbox called signup-bot, sign up to example.com with it, and tell me the verification code." Behind the scenes it will call create_inbox, then wait_for_message, and read extracted.codes.

Prefer plain HTTP? The same account works over REST:

REST
export BOTMAIL_KEY=bm_YOUR_KEY

curl -X POST "https://mailforbots.com/api/v1/inboxes" \
  -H "Authorization: Bearer $BOTMAIL_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "username": "signup-bot" }'

Keep a human in the loop

Tell your agent to use create_draft for anything that shouldn't go out unreviewed. The draft appears in your webmail, marked as prepared by an agent, and is only sent when you press Send (or call send_draft).