Agent Email
/install agent-email-cli
Agent Email CLI
Overview
Use this skill to operate the agent-email command safely and predictably for agent workflows that need inbox access.
Prefer JSON-native command output and return key fields (email, messageId, subject, createdAt, from.address) in your summaries.
Workflow
- Verify CLI availability.
command -v agent-email
agent-email --help
If missing, install:
npm install -g @zaddy6/agentemail
# or
bun install -g @zaddy6/agentemail
- Create a mailbox account.
agent-email create
Record these fields from JSON output:
data.emaildata.accountIddata.activeEmail
Do not record, repeat, or print secret values such as mailbox passwords or tokens.
- Read latest messages.
agent-email read \x3Cemail|default>
For inbox waiting/polling:
agent-email read \x3Cemail|default> --wait 30 --interval 2
For full message payloads:
agent-email read \x3Cemail|default> --full
- Retrieve one message in detail.
agent-email show \x3Cemail|default> \x3CmessageId>
Use show when you need body/source details for verification links, codes, or full content extraction.
- Manage mailbox profiles.
agent-email accounts list
agent-email use \x3Cemail|default>
agent-email accounts remove \x3Cemail>
Avoid commands that require entering secrets on the command line in agent logs.
- Delete processed/irrelevant message when requested.
agent-email delete \x3Cemail|default> \x3CmessageId>
Operational Guidance
- Keep command output machine-readable; avoid forcing human output unless requested.
- Prefer
defaultalias when user does not specify an email. - Never echo, store, or summarize secret values (
password,token) from command output. - If command fails, surface the JSON error
codeandhintfields directly. - For auth failures (
AUTH_REQUIRED/401), rerun command once and request user intervention if credentials must be re-established. - For rate limits (
RATE_LIMITED/429), retry after short delay.
Troubleshooting
command not found: ensure~/.bun/binor npm global bin path is onPATH.NO_ACTIVE_ACCOUNT: runagent-email createoragent-email use \x3Cemail>.ACCOUNT_NOT_FOUND: runagent-email accounts listand pick a valid address.EOTPduring npm publish: use npm trusted publishing for CI or publish locally with OTP.
References
- For command cheat sheet and JSON field map, read references/commands.md.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install agent-email-cli - 安装完成后,直接呼叫该 Skill 的名称或使用
/agent-email-cli触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Agent Email 是什么?
Operate the agent-email CLI to create disposable inboxes, poll for new mail, retrieve full message details, and manage local mailbox profiles. Use when the u... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 516 次。
如何安装 Agent Email?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install agent-email-cli」即可一键安装,无需额外配置。
Agent Email 是免费的吗?
是的,Agent Email 完全免费(开源免费),可自由下载、安装和使用。
Agent Email 支持哪些平台?
Agent Email 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Agent Email?
由 Isaac David(@zaddy6)开发并维护,当前版本 v1.0.0。