Assistant Mail
/install assistant-mail
AssistantMail AI Agent Skill
Capability
This skill gives AI agents a consistent way to discover AssistantMail endpoint details and directly fetch mailbox/message data through MCP.
Critical Access Model
- Knowing an email address like
[email protected]does not grant mailbox access. - Backend mail APIs are keyed by
mailboxId(UUID path parameter), not by mailbox email address. - Mailbox operations are authorized by account ownership (
mailbox.accountId === auth.accountId).
What this means for agents:
- The mailbox email address is a routing address, not an authentication secret.
- Your client must call mailbox routes with the correct
mailboxId. - A valid API key or Cognito JWT is still required.
Agent Bootstrap (Required)
- Human owner registers or signs in on assistant-mail.ai. Learn more
- Human owner creates an API key with
POST /v1/api-keys. - Human owner shares the returned
amk_...key securely with the agent runtime. - Agent lists mailboxes via
GET /v1/mailboxesand stores the targetmailboxId. - Agent uses that
mailboxIdfor send/list/get/usage routes.
Notes:
- API keys are only shown once at creation.
- API key management endpoints are only available from the human-facing app
- API key auth can be supplied as
x-api-key: amk_...orAuthorization: Bearer amk_....
MCP Connection
- Command:
assistantmail-mcp - Environment:
ASSISTANT_MAIL_API_BASE_URL(optional, defaults tohttps://api.assistant-mail.ai)ASSISTANT_MAIL_API_KEY(optional,amk_...; used by direct tools whenapiKeyinput is omitted)
- Available tools:
assistantmail_healthassistantmail_get_meassistantmail_get_inbound_policyassistantmail_update_inbound_policyassistantmail_list_mailboxesassistantmail_create_mailboxassistantmail_get_mailboxassistantmail_update_mailboxassistantmail_delete_mailboxassistantmail_list_messagesassistantmail_get_messageassistantmail_send_emailassistantmail_delete_messagesassistantmail_get_usageassistantmail_list_recipientsassistantmail_add_recipientassistantmail_remove_recipientassistantmail_send_email_referenceassistantmail_list_messages_referenceassistantmail_get_message_referenceassistantmail_get_usage_reference
These direct tools cover the API-key operational endpoints agents are expected to call.
OpenClaw
Use this skill by registering the MCP command assistantmail-mcp in your OpenClaw skill/MCP registry.
Claude
Use this skill by adding an MCP server entry that launches assistantmail-mcp.
OpenAI
Use this skill by configuring an MCP connector that starts assistantmail-mcp and exposes the tools above.
Direct MCP Calls (No Manual URL Building)
{
"tool": "assistantmail_list_mailboxes",
"input": {
"apiKey": "amk_..."
}
}
{
"tool": "assistantmail_get_mailbox",
"input": {
"mailboxId": "\x3Cmailbox-uuid>",
"apiKey": "amk_..."
}
}
{
"tool": "assistantmail_list_messages",
"input": {
"mailboxId": "\x3Cmailbox-uuid>",
"limit": 50,
"since": "2026-01-01T00:00:00.000Z",
"apiKey": "amk_..."
}
}
{
"tool": "assistantmail_get_message",
"input": {
"mailboxId": "\x3Cmailbox-uuid>",
"messageId": "\x3Cmessage-uuid>",
"apiKey": "amk_..."
}
}
{
"tool": "assistantmail_send_email",
"input": {
"mailboxId": "\x3Cmailbox-uuid>",
"to": "[email protected]",
"subject": "Hello",
"text": "Hi there",
"apiKey": "amk_..."
}
}
{
"tool": "assistantmail_get_usage",
"input": {
"mailboxId": "\x3Cmailbox-uuid>",
"apiKey": "amk_..."
}
}
{
"tool": "assistantmail_list_recipients",
"input": {
"apiKey": "amk_..."
}
}
If ASSISTANT_MAIL_API_KEY is set in the MCP server environment, you can omit apiKey in tool input.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install assistant-mail - After installation, invoke the skill by name or use
/assistant-mail - Provide required inputs per the skill's parameter spec and get structured output
What is Assistant Mail?
A skill that allows AI agents to send emails using the AssistantMail API. It is an AI Agent Skill for Claude Code / OpenClaw, with 50 downloads so far.
How do I install Assistant Mail?
Run "/install assistant-mail" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Assistant Mail free?
Yes, Assistant Mail is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Assistant Mail support?
Assistant Mail is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Assistant Mail?
It is built and maintained by AssistantMail (@assistantmail); the current version is v1.0.1.