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.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install agent-email-cli - After installation, invoke the skill by name or use
/agent-email-cli - Provide required inputs per the skill's parameter spec and get structured output
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 516 downloads so far.
How do I install Agent Email?
Run "/install agent-email-cli" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Agent Email free?
Yes, Agent Email is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Agent Email support?
Agent Email is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Agent Email?
It is built and maintained by Isaac David (@zaddy6); the current version is v1.0.0.