Skip to main content
View as Markdown

Getting Started

Your first minutes in the dashboard:

  1. Inboxes. After you verify your email you land on Inboxes. A new account has no address yet; your agent creates one through the API or MCP, and incoming mail then appears there, read only.
  2. Key. A new account sees its first API key at the top of that page, once. Copy it and tick the confirmation. The key is kept in the page only: it is not stored in your browser, and reloading or signing out removes it. If that happens, create a new key on the Billing page and revoke the old one.
  3. MCP. Open Connect for the setup steps. Use an integration key, not the Dashboard sign-in entry. Check MCP Server for what the published package supports.

Start with Quick Start to obtain an API key, select or create an inbox, send to an address you control, and read the reply.

The dashboard covers billing, usage, API keys and a read-only view of incoming messages. Use the API for inboxes, sending and replying, domains, webhooks, and replay.

  1. verify your email through OTP or OAuth sign-in
  2. create an integration API key with the permissions your service needs
  3. create an inbox on an enabled, verified sending domain
  4. send a small message without attachments to your own verified email address

Choose an integration:

  • REST API: HTTPS requests to https://getmail.bot/v1.
  • Node.js SDK: install the documented prerelease version explicitly.
  • Python SDK: set the public base URL explicitly.
  • MCP server: connect an MCP-compatible client.

Start with the API or an SDK. MCP is a follow-up integration path, not the primary onboarding path.

Current public surfaces:

  • Docs: https://getmail.bot/docs
  • Billing dashboard: https://getmail.bot/dashboard, for plan, monthly usage and API keys

Everything else (inboxes, messages, threads, domains, events, replay) runs through the API, the SDKs or the MCP server. There is no inbox console to open.

Node.js​

import { MailBot } from '@yopiesuryadi/mailbot-sdk';

const client = new MailBot({ apiKey: 'mb_xxx' });
const inbox = await client.inboxes.create({
username: 'support-bot',
domain: 'your-verified-domain.example',
idempotencyKey: 'onboarding-inbox-001',
});

console.log(inbox.id);
console.log(inbox.address);

Replace the domain placeholder with a domain verified in your account. If you later use raw API examples, replace INBOX_ID with the real inbox.id returned here.

Python​

Python package is published as mailbot-sdk.

from mailbot import MailBot

client = MailBot(api_key="mb_xxx", base_url="https://getmail.bot/v1")
inbox = client.inboxes.create(
username="support-bot",
domain="your-verified-domain.example",
idempotency_key="onboarding-inbox-001",
)

Shared sandbox sending may be paused during a security migration. If it is unavailable, verify a domain before sending. Unreviewed accounts can send to their verified owner; additional recipients require reviewed recipient approval or account trust, even on paid plans. Recipient suppression and current delivery policy apply to every attempt, including scheduled sends. See Security & Trust and Authentication.

Outbound attachments are refused with 403 OUTBOUND_POLICY_DENIED, reason attachment_review_required. Omit attachments or send an empty array. No message, debit, reservation or transport submission is created by this denial. Send body_text and body_html and link to files you host.

Send Authorization lists every check a send passes and the code each one returns.

Agent Frameworks​

To hand inbox actions to an AI agent, use the MCP server: npx mailbot-mcp with MAILBOT_API_KEY set. See MCP Server. The same actions are available in the REST API and the Node and Python SDKs.

Sandbox inboxes use real email on mailbot.id. They remain subject to sending restrictions and plan limits. Custom domains require a plan that includes them and verified DNS records. See Inboxes.