← 返回 Skills 市场
🔌

Assistant Mail

作者 AssistantMail · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
50
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install assistant-mail
功能描述
A skill that allows AI agents to send emails using the AssistantMail API.
使用说明 (SKILL.md)

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)

  1. Human owner registers or signs in on assistant-mail.ai. Learn more
  2. Human owner creates an API key with POST /v1/api-keys.
  3. Human owner shares the returned amk_... key securely with the agent runtime.
  4. Agent lists mailboxes via GET /v1/mailboxes and stores the target mailboxId.
  5. Agent uses that mailboxId for 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_... or Authorization: Bearer amk_....

MCP Connection

  • Command: assistantmail-mcp
  • Environment:
    • ASSISTANT_MAIL_API_BASE_URL (optional, defaults to https://api.assistant-mail.ai)
    • ASSISTANT_MAIL_API_KEY (optional, amk_...; used by direct tools when apiKey input is omitted)
  • Available tools:
    • assistantmail_health
    • assistantmail_get_me
    • assistantmail_get_inbound_policy
    • assistantmail_update_inbound_policy
    • assistantmail_list_mailboxes
    • assistantmail_create_mailbox
    • assistantmail_get_mailbox
    • assistantmail_update_mailbox
    • assistantmail_delete_mailbox
    • assistantmail_list_messages
    • assistantmail_get_message
    • assistantmail_send_email
    • assistantmail_delete_messages
    • assistantmail_get_usage
    • assistantmail_list_recipients
    • assistantmail_add_recipient
    • assistantmail_remove_recipient
    • assistantmail_send_email_reference
    • assistantmail_list_messages_reference
    • assistantmail_get_message_reference
    • assistantmail_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.

安全使用建议
Review this skill carefully before installing. Only grant it access if you intend it to read and modify mailbox data as well as send email, and use provider permissions or agent approval gates to limit destructive actions such as deleting messages or mailboxes.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The stated framing as an email-sending skill does not fit the reported capability set, which includes mailbox creation/deletion, message retrieval, recipient management, usage access, and outbound sending.
Instruction Scope
The instructions appear under-scoped for sensitive mail access because user-facing warnings, consent expectations, and approval guidance for reading, deleting, or sending communications are not clearly documented.
Install Mechanism
No unsafe installer behavior, executable payload, package-install side effects, or persistence mechanism was identified from the supplied evidence.
Credentials
Access to private mailbox contents and administrative mail operations is high-impact and proportionate only if clearly scoped to a mail-management purpose; the supplied evidence indicates narrower outward framing.
Persistence & Privilege
No background persistence or privilege escalation is indicated, but the skill can perform externally visible and potentially destructive mail actions if granted the relevant provider authority.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install assistant-mail
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /assistant-mail 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Clarified bootstrap step: agents must register or sign in at assistant-mail.ai, with links to the website. - Updated instructions to specify API key management is only available from the human-facing web app. - Minor wording changes for clarity in the Agent Bootstrap and API key notes. - No changes to features, API, tools, or core usage.
v1.0.0
AssistantMail API integration skill released. - Allows AI agents to send and manage email using the AssistantMail API. - Provides tools for mailbox and message operations (send, list, get, delete, usage, manage recipients). - Secure access model: Mailbox operations require valid API key and are authorized by account ownership, not email address. - Supports configuration for multiple agent platforms (OpenClaw, Claude, OpenAI) via MCP command. - Includes bootstrap instructions and example API/tool usage for agent developers.
元数据
Slug assistant-mail
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Assistant Mail 是什么?

A skill that allows AI agents to send emails using the AssistantMail API. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 50 次。

如何安装 Assistant Mail?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install assistant-mail」即可一键安装,无需额外配置。

Assistant Mail 是免费的吗?

是的,Assistant Mail 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Assistant Mail 支持哪些平台?

Assistant Mail 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Assistant Mail?

由 AssistantMail(@assistantmail)开发并维护,当前版本 v1.0.1。

💬 留言讨论