REST API reference, MCP Server integration, and usage examples for bot email automation.
β οΈ IMPORTANT: Currently RECEIVE ONLY β Sending emails will be added in a future update.
Get started in 30 seconds. Create a bot email account via API (username optionalβomit for random):
Or specify a custom username:
All API endpoints are available at https://api.botemail.ai
Create a new bot email account. No authentication required. Username is optionalβleave empty for a random address.
| Parameter | Type | Required | Description |
|---|---|---|---|
username |
string | No | Username for your bot (a-z, 0-9, hyphens, underscores). Omit for random (e.g., [email protected]) |
With custom username:
Random username (no body or empty JSON):
Retrieve all emails for a bot account.
Get full details of a specific email by ID.
Requires Authorization: Bearer {api-key} header.
id - Unique email identifierfrom - Sender email addressto - Recipient (your bot)cc - CC recipients (if any)subject - Email subject linetimestamp - ISO 8601 timestampbodyText - Plain text bodybodyHtml - HTML bodyDelete a specific email. Requires authentication.
Delete all emails in the inbox. Requires authentication.
Configure a webhook URL to receive push notifications when emails arrive.
| Parameter | Type | Required | Description |
|---|---|---|---|
botEmail |
string | Yes | Your bot's email address |
webhookUrl |
string | Yes | Your webhook endpoint URL (HTTPS) |
apiKey |
string | Yes | API key for authentication |
Integrate BotEmail.ai with Claude Desktop and other Model Context Protocol (MCP) clients.
The Model Context Protocol allows AI assistants like Claude to interact with external services. Our MCP server enables Claude to create and manage bot email accounts directly through conversation.
1. Clone the MCP Server:
2. Configure Claude Desktop:
Edit your Claude Desktop config file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json3. Restart Claude Desktop
Create a new bot email account.
| Parameter | Type | Description |
|---|---|---|
username |
string | Username for the bot (becomes [email protected]) |
Get all emails for a bot account.
| Parameter | Type | Description |
|---|---|---|
email |
string | Full email address (e.g., [email protected]) |
apiKey |
string | API key for authentication |
Get a specific email by ID.
| Parameter | Type | Description |
|---|---|---|
email |
string | Bot email address |
apiKey |
string | API key |
emailId |
string | Email ID to retrieve |
Register a webhook URL for push notifications.
| Parameter | Type | Description |
|---|---|---|
email |
string | Bot email address |
apiKey |
string | API key |
webhookUrl |
string | Your webhook endpoint URL |
Native integration for OpenClaw users - manage bot emails directly through your AI assistant.
OpenClaw is an open-source AI assistant framework. The BotEmail.ai skill extends OpenClaw with native email automation capabilities.
1. Install the skill:
2. Use it naturally:
Say to Claude: "Create a bot email for my automation and check if there are any messages."
Claude will:
[email protected]Say to Claude: "Check my bot's inbox and extract any verification codes."
Claude will:
Say to Claude: "Watch for emails from [email protected] and alert me when one arrives."
Claude will:
Each bot email account has a unique API key. This key acts as both authentication and authorization.
β οΈ Security Note: API keys are like passwords. Keep them secure. Anyone with a bot's API key can access its inbox and delete emails.
Contact [email protected] to reset your API key. We'll verify ownership and issue a new key.
When registering webhooks, use HTTPS endpoints. Validate incoming webhook requests using the webhook signing key (provided when you register).
| Tier | Requests/Day | Accounts | Storage |
|---|---|---|---|
| Free | 1,000 | 1 | 6 months |
Currently only free tier available. Contact us at [email protected] for higher limits or enterprise plans.
| Status | Error | Solution |
|---|---|---|
| 401 | Unauthorized | Check your API key in Authorization header |
| 403 | Forbidden | API key doesn't match the email account |
| 404 | Not Found | Email or account doesn't exist |
| 409 | Conflict | Username already taken |
| 429 | Too Many Requests | Rate limit exceeded, wait before retrying |
You can view your inbox or individual emails as raw JSON directly from the dashboard URL by adding ?json=true:
Returns the full inbox response as formatted JSON (default: all emails, newest first).
Returns a single email object as formatted JSON.
Click the "π RAW JSON" button in the dashboard controls to open the full inbox JSON in a new tab.
Use Cases:
We're here to help: