Index of every page on this site: llms.txt
All skills
zaddy6 avatar

/agent-email-cli

@e878868
Run it yourself

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 user needs terminal-based email inbox access for LLM or agent automation workflows.

Use this Skill: https://skilld.dev/gh/zaddy6/agent-email-skill/agent-email-cli

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈64 tokens for metadata: the name and description. ≈631 when used: this file. ≈412 more on demand in 2 files.

Description uses 3.2% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈257 characters, or 3.2%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

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

  1. Verify CLI availability.
command -v agent-email
agent-email --help

If missing, install:

npm install -g @zaddy6/agentemail
# or
bun install -g @zaddy6/agentemail
  1. Create a mailbox account.
agent-email create

Record these fields from JSON output:

  • data.email
  • data.accountId
  • data.activeEmail

Do not record, repeat, or print secret values such as mailbox passwords or tokens.

  1. Read latest messages.
agent-email read <email|default>

For inbox waiting/polling:

agent-email read <email|default> --wait 30 --interval 2

For full message payloads:

agent-email read <email|default> --full
  1. Retrieve one message in detail.
agent-email show <email|default> <messageId>

Use show when you need body/source details for verification links, codes, or full content extraction.

  1. Manage mailbox profiles.
agent-email accounts list
agent-email use <email|default>
agent-email accounts remove <email>

Avoid commands that require entering secrets on the command line in agent logs.

  1. Delete processed/irrelevant message when requested.
agent-email delete <email|default> <messageId>

Operational Guidance

  • Keep command output machine-readable; avoid forcing human output unless requested.
  • Prefer default alias 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 code and hint fields 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/bin or npm global bin path is on PATH.
  • NO_ACTIVE_ACCOUNT: run agent-email create or agent-email use <email>.
  • ACCOUNT_NOT_FOUND: run agent-email accounts list and pick a valid address.
  • EOTP during npm publish: use npm trusted publishing for CI or publish locally with OTP.

References

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2mo4 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill facilitates mailbox management and email reading through the agent-email CLI. It includes explicit defensive instructions to prevent the agent from logging or exposing sensitive access tokens. The main security surface involves the handling of untrusted email content which may contain instructions targeting the agent.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: MEDIUM · 1 issue

  • Runlayer8mo

    2/3 files flagged

Signed by skilld at e878868. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 9 months ago
  • CLI
  • email
  • inbox
  • disposable-email
  • automation
  • agent-workflow
  • nodejs
  • npm

README badge

README badge for zaddy6/agent-email-skill

Operates the agent-email CLI to create disposable inboxes, poll for incoming mail, and retrieve message details for agent automation workflows. Useful for agents that need to verify email-based sign-ups, extract confirmation codes, or wait for messages during testing or integration scenarios.

Generated from the current SKILL.md.

What email provider does this skill use?
The skill operates the agent-email CLI, which creates disposable inboxes. The SKILL.md does not specify the underlying email provider or service.
Can I use this skill to send emails?
No. The skill is read-only and covers inbox operations: creating disposable accounts, polling for mail, retrieving message details, and deleting messages.
How do I install the agent-email CLI?
Run `npm install -g @zaddy6/agentemail` or `bun install -g @zaddy6/agentemail`. Verify with `command -v agent-email` and `agent-email --help`.
How do I wait for incoming mail?
Use `agent-email read <email|default> --wait 30 --interval 2` to poll for new messages with a 30-second timeout and 2-second check interval.
Does this skill handle secrets safely?
Yes. The skill explicitly avoids recording, repeating, or printing secret values like passwords or tokens, and recommends against entering secrets on the command line in agent logs.

Generated from the current SKILL.md. These answers refresh after source changes.