← 返回列表
全部 Skill›数据与AI Data & AI›agentmail

agentmail

作者 @NousResearch · 语言 en
Use when an agent needs AgentMail CLI email inboxes.
数据与AI Data & AILLM 与 AI通用执行命令访问网络敏感路径待翻译
最近源活动
—
检测 SKILL.md 语言
en
星标 ★
265,665
分支 Fork
0
安装选项
提示
指令
使用 AI 助手安装
将下面的提示复制到你正在使用的 AI 助手中。
下载完整 Skill 目录(含全部配套文件)。 下载压缩包 ↓
SKILL.md 原文预览

AgentMail Skill

AgentMail gives an agent its own email inbox for sending mail, receiving

replies, completing email OTP flows, and running inbound email loops. Use it for

agent-owned inboxes, not a user's existing IMAP/SMTP mailbox.

Use the agentmail CLI first. Use MCP only when the harness expects MCP tools;

use REST only when the CLI is missing a required operation.

When to Use

  • The agent needs an email address it owns.
  • The task involves email OTP flows, replies, threads, labels, or attachments.
  • The agent needs webhook or WebSocket delivery for inbound mail.

Prerequisites

  • Run commands through the terminal tool.
  • Install the CLI:
npm install -g agentmail-cli@latest
  • Export an API key:
export AGENTMAIL_API_KEY="am_..."

No API key yet? Use signup.md.

How to Run

Use --format json whenever another command or script needs IDs.

agentmail inboxes list --format json

Quick Reference

  • AgentMail agent reference: hosted copy.
  • AgentMail: product landing page.
  • Console: API keys and account management.
  • Docs: full product documentation.
  • signup.md: self-signup and OTP verification.
  • core.md: inboxes, messages, threads, labels, attachments.
  • webhooks.md: events to a public HTTPS server.
  • websockets.md: events to a local agent process.
  • mcp.md: MCP integration.

Procedure

  1. Install agentmail-cli@latest and verify agentmail inboxes list --format json.
  2. If no API key is available, complete signup.md.
  3. Use core.md for inbox, send, read, reply, forward,

label, thread, and attachment flows.

  1. Add webhooks.md or

websockets.md only when polling is not enough.

Pitfalls

  • Prefer AGENTMAIL_API_KEY over --api-key.
  • Never expose AGENTMAIL_API_KEY in prompts, logs, URLs, or committed files.
  • Use stable client_id values for retried create operations.
  • Prefer extracted_text or extracted_html for LLM input when present.
  • React to message.received, not messages the agent sent.

Verification

agentmail inboxes list --format json
评论
NNousResearch
NousResearch
NousResearch/hermes-agent
查看 GitHub 仓库 查看作者的其他 Skill
来源信息
作者@NousResearch
所属大类数据与AI Data & AI / LLM 与 AI
国内可用性通用
最近源活动—
风险提示执行命令、访问网络、敏感路径
提示:风险标签为程序静态扫描结果,仅作提示,不代表安全认证。安装前请阅读 SKILL.md 及其引用的脚本、权限,自行判断是否可信。