← 返回 Skills 市场
agungprabowo123

Agentmail

作者 Agung Prabowo · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ⚠ suspicious
338
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install agentmail-2
功能描述
Give the agent its own dedicated email inbox via AgentMail. Send, receive, and manage email autonomously using agent-owned email addresses (e.g. hermes-agent...
使用说明 (SKILL.md)

AgentMail — Agent-Owned Email Inboxes

Requirements

  • AgentMail API key (required) — sign up at https://console.agentmail.to (free tier: 3 inboxes, 3,000 emails/month; paid plans from $20/mo)
  • Node.js 18+ (for the MCP server)

When to Use

Use this skill when you need to:

  • Give the agent its own dedicated email address
  • Send emails autonomously on behalf of the agent
  • Receive and read incoming emails
  • Manage email threads and conversations
  • Sign up for services or authenticate via email
  • Communicate with other agents or humans via email

This is NOT for reading the user's personal email (use himalaya or Gmail for that). AgentMail gives the agent its own identity and inbox.

Setup

1. Get an API Key

2. Configure MCP Server

Add to ~/.hermes/config.yaml (paste your actual key — MCP env vars are not expanded from .env):

mcp_servers:
  agentmail:
    command: "npx"
    args: ["-y", "agentmail-mcp"]
    env:
      AGENTMAIL_API_KEY: "am_your_key_here"

3. Restart Hermes

hermes

All 11 AgentMail tools are now available automatically.

Available Tools (via MCP)

Tool Description
list_inboxes List all agent inboxes
get_inbox Get details of a specific inbox
create_inbox Create a new inbox (gets a real email address)
delete_inbox Delete an inbox
list_threads List email threads in an inbox
get_thread Get a specific email thread
send_message Send a new email
reply_to_message Reply to an existing email
forward_message Forward an email
update_message Update message labels/status
get_attachment Download an email attachment

Procedure

Create an inbox and send an email

  1. Create a dedicated inbox:
    • Use create_inbox with a username (e.g. hermes-agent)
    • The agent gets address: [email protected]
  2. Send an email:
    • Use send_message with inbox_id, to, subject, text
  3. Check for replies:
    • Use list_threads to see incoming conversations
    • Use get_thread to read a specific thread

Check incoming email

  1. Use list_inboxes to find your inbox ID
  2. Use list_threads with the inbox ID to see conversations
  3. Use get_thread to read a thread and its messages

Reply to an email

  1. Get the thread with get_thread
  2. Use reply_to_message with the message ID and your reply text

Example Workflows

Sign up for a service:

1. create_inbox (username: "signup-bot")
2. Use the inbox address to register on the service
3. list_threads to check for verification email
4. get_thread to read the verification code

Agent-to-human outreach:

1. create_inbox (username: "hermes-outreach")
2. send_message (to: [email protected], subject: "Hello", text: "...")
3. list_threads to check for replies

Pitfalls

  • Free tier limited to 3 inboxes and 3,000 emails/month
  • Emails come from @agentmail.to domain on free tier (custom domains on paid plans)
  • Node.js (18+) is required for the MCP server (npx -y agentmail-mcp)
  • The mcp Python package must be installed: pip install mcp
  • Real-time inbound email (webhooks) requires a public server — use list_threads polling via cronjob instead for personal use

Verification

After setup, test with:

hermes --toolsets mcp -q "Create an AgentMail inbox called test-agent and tell me its email address"

You should see the new inbox address returned.

References

安全使用建议
This skill appears to be what it says (an AgentMail integration) but has some red flags you should consider before installing: 1) Metadata mismatch — the public record says no credentials required, but the SKILL.md requires an AgentMail API key. Ask the publisher/registry to correct metadata before trusting it. 2) Secrets handling — the instructions ask you to paste AGENTMAIL_API_KEY into ~/.hermes/config.yaml; that file may be readable by other agents or processes. Prefer storing secrets with least privilege (use an env var with restricted file permissions or a secrets manager) and avoid putting high-value keys in plaintext config if possible. 3) Code provenance — SKILL.md directs you to run 'pip install mcp' and 'npx -y agentmail-mcp', which will fetch code from PyPI/npm. Inspect the agentmail-mcp package (npm) and the linked GitHub repo (https://github.com/agentmail-to/agentmail-mcp) to verify publisher identity, check recent commits, and review the package contents before running. 4) Use a throwaway/test AgentMail account first (or a limited-permission key) to validate behavior and limits (free tier stated). 5) If you proceed, restrict the key's permissions (if AgentMail supports it), set tight file permissions on the config file, and monitor outgoing traffic for unexpected destinations. If the publisher cannot explain the metadata mismatch or provide trustworthy package sources, do not install.
功能分析
Type: OpenClaw Skill Name: agentmail-2 Version: 0.1.1 The skill bundle provides a legitimate interface for agents to manage dedicated email inboxes using the AgentMail service. It utilizes standard Model Context Protocol (MCP) configuration patterns, requiring an API key and the execution of a public npm package (agentmail-mcp). No evidence of malicious intent, data exfiltration, or harmful prompt injection was found in SKILL.md or _meta.json.
能力评估
Purpose & Capability
Name/description match the instructions: this is an AgentMail integration that gives agents inboxes. However the registry metadata claims no required env vars or primary credential, while SKILL.md explicitly requires an AgentMail API key (am_...) and Node.js. That metadata omission is an incoherence — the skill will need a secret but the registry entry does not declare it.
Instruction Scope
Runtime instructions are narrowly scoped to creating/managing agent-owned inboxes and do not ask to read the user's personal email. They do instruct you to add AGENTMAIL_API_KEY into ~/.hermes/config.yaml (agent framework config) and to restart Hermes, which modifies agent configuration and places a secret into a file accessible to the agent environment. This is expected for this integration but worth noting because it centralizes the API key where other agent code could access it.
Install Mechanism
No formal install spec in the registry, but SKILL.md directs runtime installs: 'pip install mcp' and using 'npx -y agentmail-mcp'. Both will fetch and execute third-party code (PyPI/npm) at install/runtime. Using npx/pip is common but is a moderate risk because it downloads remote packages — review the agentmail-mcp npm package and the GitHub repo before running.
Credentials
Requesting an AgentMail API key is proportionate to the stated purpose. The problem is the registry metadata does not advertise this required credential, and the instructions advise storing the key in ~/.hermes/config.yaml which may expose the secret to any agent or process that can read that config. No other unrelated credentials are requested.
Persistence & Privilege
The skill does not request always:true and does not declare system-wide privileges. It asks the user to update their Hermes config to add an MCP server entry (normal for adding tools). It does not instruct modifying other skills or system config beyond the agent's own Hermes config.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install agentmail-2
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /agentmail-2 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
No changes detected in this version. - No file changes were made. - Documentation and features remain the same as the previous release.
v0.1.0
- Initial release of AgentMail skill, enabling agents to send, receive, and manage email autonomously with dedicated agent-owned inboxes. - Supports 11 core email management tools, including creating inboxes, sending messages, receiving and managing threads, and handling attachments. - Setup requires an AgentMail API key and Node.js 18+ for MCP server integration. - Designed for agent identity and communication workflows, not for accessing user personal email. - Free and paid tiers available; includes usage limits and domain constraints for free plans.
元数据
Slug agentmail-2
版本 0.1.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Agentmail 是什么?

Give the agent its own dedicated email inbox via AgentMail. Send, receive, and manage email autonomously using agent-owned email addresses (e.g. hermes-agent... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 338 次。

如何安装 Agentmail?

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

Agentmail 是免费的吗?

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

Agentmail 支持哪些平台?

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

谁开发了 Agentmail?

由 Agung Prabowo(@agungprabowo123)开发并维护,当前版本 v0.1.1。

💬 留言讨论