Assistant Mail
OfficialAccount & policy management: get profile/plan tier, view/update inbound email policy (owner/list/sent).
Mailbox management: list, create, get, update display name, and delete mailboxes.
Messaging: list/get messages, send email, reply to a message, delete messages, and check usage/quota.
Recipient management: list approved/pending recipients, add recipients (with consent invitation when required), remove recipients.
Reference tools: retrieve raw REST endpoint details for messages and usage to construct manual API calls.
Diagnostics: check MCP server health and API base URL (no API key required).
Input flexibility: API key can be set via
ASSISTANT_MAIL_API_KEYor passed per tool call.
assistantmail-mcp
MCP server for AssistantMail — give AI agents a managed mailbox to send and receive email.
Built for personal and small-team OpenClaw / Hermes operators who want agent email with allowlist, consent, retention, and spend caps you control. Listed on ClawHub for easy install — not an official OpenClaw endorsement.
Get Free · Docs · Website · Privacy · Terms · Contributing
OpenClaw / ClawHub
openclaw skills install @assistantmail/assistant-mailThen configure your MCP client to run this server and set ASSISTANT_MAIL_API_KEY (Claude Desktop and Cursor examples below). Skill: assistant-mail on ClawHub. Same MCP works with Hermes.
Related MCP server: MCPEmails
Installation
npx -y @assistantmail/assistantmail-mcpNode 24+.
Claude Desktop
{
"mcpServers": {
"assistantmail": {
"command": "npx",
"args": ["-y", "@assistantmail/assistantmail-mcp"],
"env": {
"ASSISTANT_MAIL_API_KEY": "amk_..."
}
}
}
}Cursor / VS Code (.cursor/mcp.json or .vscode/mcp.json)
{
"servers": {
"assistantmail": {
"command": "npx",
"args": ["-y", "@assistantmail/assistantmail-mcp"],
"env": {
"ASSISTANT_MAIL_API_KEY": "amk_..."
}
}
}
}Prerequisites
Create a free account via the Get Free link above (1 agent, 25/day; current limits: Docs).
Go to API Keys and create a key (
amk_...). Copy it immediately — it is only shown once.Set
ASSISTANT_MAIL_API_KEY; callassistantmail_list_mailboxesto get yourmailboxIdUUID. Mail API routes use that UUID, not an email address.
Paid plans: upgrade in-app only (not Payment Links). Use Upgrade in the AssistantMail app — checkout is not sold via Stripe Payment Links. Docs: assistant-mail.ai/docs
Official MCP Registry
The listing is live as io.github.AssistantMail/assistantmail-mcp on the Official MCP Registry. Product docs: assistant-mail.ai/docs.
Packaging lives in server.json. After a version bump, republish with mcp-publisher — see docs/MCP_REGISTRY.md.
Environment variables
Variable | Default | Description |
| (none) | API key ( |
|
| The public API for the AssistantMail service |
Tools
Diagnostics
Tool | Description |
| Check that the MCP server is running and confirm the API base URL. No API key required. |
Account
Tool | Description |
| Get account profile and plan tier. |
| Get the current inbound email policy (who can send to this account's mailboxes). |
| Update the inbound policy (if allowed by selected account tier). Accepted values: |
Mailboxes
Tool | Description |
| List all mailboxes on the account. Returns |
| Create a new mailbox (if allowed by selected account tier), optionally specifying |
| Get metadata for a single mailbox by |
| Update a mailbox's display name. |
| Permanently delete a mailbox and all its messages. THIS ACTION HAS NO CONFIRMATION. USE CAREFULLY. |
Messages
Tool | Description |
| List inbound and outbound messages for a mailbox. Supports |
| Fetch a single message including |
| Queue an outbound email. Requires |
| Reply to an existing message. Requires |
| Delete messages by |
| Get daily and monthly send quota usage for a mailbox. A |
Recipients
Tool | Description |
| List approved and pending recipients for the account. |
| Add a recipient. Sends a consent invitation email when required by the account's plan. |
| Remove a recipient from the allowed list. |
Reference tools
These return raw REST endpoint details rather than calling the API. Use them when you need to construct a request manually or inspect the exact URL and response schema.
Tool | Description |
| Endpoint, headers, and body fields for |
| Endpoint and query params for |
| Endpoint and response schema for |
| Endpoint and response schema for |
Quick start
API_KEY="amk_..."
BASE="https://api.assistant-mail.ai"
# 1) Discover your mailboxId
curl "$BASE/v1/mailboxes" -H "x-api-key: $API_KEY"
# 2) Send an email
curl -X POST "$BASE/v1/mailboxes/<mailboxId>/messages" \
-H "x-api-key: $API_KEY" \
-H "Content-Type: application/json" \
-d '{"to":"recipient@example.com","subject":"Hello","text":"Hi there"}'
# 3) Read inbox
curl "$BASE/v1/mailboxes/<mailboxId>/messages" -H "x-api-key: $API_KEY"Tool call examples
{ "tool": "assistantmail_list_mailboxes", "input": { "apiKey": "amk_..." } }{
"tool": "assistantmail_list_messages",
"input": { "mailboxId": "<uuid>", "limit": 20, "since": "2026-01-01T00:00:00.000Z" }
}{
"tool": "assistantmail_get_message",
"input": { "mailboxId": "<uuid>", "messageId": "<uuid>" }
}{
"tool": "assistantmail_send_email",
"input": {
"mailboxId": "<uuid>",
"to": "recipient@example.com",
"subject": "Hello",
"text": "Hi there"
}
}{
"tool": "assistantmail_reply_message",
"input": {
"mailboxId": "<uuid>",
"messageId": "<uuid>",
"text": "Thanks for the update."
}
}If ASSISTANT_MAIL_API_KEY is set in the server environment, apiKey can be omitted from all tool inputs.
Available Tools
22 toolsassistantmail_add_recipientC
Adds a recipient and sends a consent invitation when required.
Inputs: email (required), apiKey.
assistantmail_create_mailboxC
Creates a mailbox for the authenticated account.
Inputs: apiKey, address, displayName.
assistantmail_delete_mailboxA
Deletes a mailbox and all associated messages.
Inputs: mailboxId (required), apiKey.
assistantmail_delete_messagesC
Deletes messages from a mailbox by IDs or deletes all messages.
Inputs: mailboxId (required), apiKey, deleteAll, messageIds.
assistantmail_get_inbound_policyB
Gets inbound email policy settings for the authenticated account.
Inputs: apiKey.
assistantmail_get_mailboxC
Gets mailbox metadata for a mailbox ID.
Inputs: mailboxId (required), apiKey.
assistantmail_get_meC
Gets account profile and tier metadata for the authenticated account.
Inputs: apiKey.
assistantmail_get_messageA
Gets a specific message for a mailbox, including hydrated text/html bodies when available.
Inputs: mailboxId (required), messageId (required), apiKey.
assistantmail_get_message_referenceB
Provides the AssistantMail REST endpoint for fetching a single message including its full body content.
Inputs: mailboxId (required), messageId (required).
assistantmail_get_usageC
Gets daily and monthly send quota usage for a mailbox.
Inputs: mailboxId (required), apiKey.
assistantmail_get_usage_referenceC
Provides the AssistantMail REST endpoint for checking send quota usage for a mailbox.
Inputs: mailboxId (required).
assistantmail_healthA
Returns AssistantMail MCP server and API endpoint metadata.
Inputs: no named parameters.
assistantmail_list_mailboxesB
Lists mailboxes accessible to the authenticated account.
Inputs: apiKey.
assistantmail_list_messagesC
Lists inbound and outbound messages for a mailbox.
Inputs: mailboxId (required), limit, since, apiKey.
assistantmail_list_messages_referenceC
Provides the AssistantMail REST endpoint for listing messages (inbound and outbound) in a mailbox.
Inputs: mailboxId (required).
assistantmail_list_recipientsC
Lists approved/pending recipients for the authenticated account.
Inputs: apiKey.
assistantmail_remove_recipientC
Removes a recipient from the allowed recipient list.
Inputs: email (required), apiKey.
assistantmail_reply_messageB
Replies to an existing message in a mailbox thread.
Inputs: mailboxId (required), messageId (required), html, text, +1 more.
assistantmail_send_emailC
Queues an outbound email for a mailbox.
Inputs: to (required), subject (required), mailboxId (required), html, +2 more.
assistantmail_send_email_referenceC
Provides the AssistantMail REST endpoint and required headers for email send requests.
Inputs: mailboxId (required).
assistantmail_update_inbound_policyC
Updates inbound email policy for the authenticated account.
Inputs: policy (required), apiKey, allowedSenders.
assistantmail_update_mailboxC
Updates mailbox metadata (currently display name).
Inputs: mailboxId (required), displayName (required), apiKey.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 22 tools
Most tools map to distinct resources, but the four *_reference tools (get_message_reference, list_messages_reference, send_email_reference, get_usage_reference) closely parallel their non-reference counterparts and could be confused. get_me and health also overlap somewhat as account/server metadata lookups.
Tool names consistently use the assistantmail_ prefix with snake_case verb_noun patterns. Minor deviations (health, *_reference suffix) break the pattern slightly but the convention remains predictable.
22 tools is on the higher end and feels somewhat heavy. The core operations are justified, but the four reference-style tools inflate the count and could have been consolidated.
The server covers the main email lifecycle: mailbox CRUD, message listing/retrieval/send/reply/delete, recipient management, usage, and inbound policy. Minor gaps like message read-state updates or attachment handling are absent, but core workflows are covered.
Maintenance
Related MCP Connectors
Email for AI agents: send mail, manage contacts, automations & webhooks. Zero-DNS first send.
Email for AI agents: send email, manage domains, templates and contacts. Risky steps ask you first.
Cold email for AI agents: send to a lead list, follow up and read replies from your agent.
Free transactional email + SMTP relay. Agents self-signup, no API key needed to start.
Related MCP Servers
- -licenseCqualityBmaintenanceGives on-the-fly inboxes to AI agents. Agents / LLM's can send, receive, and take action in isolated inboxes. Built for AI unlike Gmail. Check us out at agentmail.to10112-
- AlicenseAqualityBmaintenanceHosted email for AI agents. Connect Gmail, Outlook / Microsoft 365 or any IMAP mailbox to Claude, ChatGPT, Cursor and other MCP clients, then read, search, send, organize, draft, schedule and auto-triage mail. Email is fetched live and never stored. Free for 1 inbox.2314AGPL 3.0
- AlicenseNot gradedqualityBmaintenanceAuthenticated email service MCP for AI agents.200Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to securely read, search, and send email across IMAP and Microsoft Graph accounts, with scoped tokens, approval flows, and an audit trail.1MIT