Skip to content
Agent Orchestration
Skill

/email-evals

Author and safely run deterministic email-agent evaluation suites with dedicated e2a test agents. Use when a user wants to define synthetic email cases, validate a suite, inspect its dry-run plan, run it after approval, or regrade changed assertions.

From plugin
e2a
2009 skills1 MCP

Claude Code

$ npx -y skills add tokencanopy/e2a --skill email-evals --agent claude-code

SKILL.md

email-evals.SKILL.md
name: email-evals
description: Author and safely run deterministic email-agent evaluation suites with dedicated e2a test agents. Use when a user wants to define synthetic email cases, validate a suite, inspect its dry-run plan, run it after approval, or regrade changed assertions.

Email evals

Gather the suite one answer at a time

Ask one logical question at a time; do not dump a questionnaire. Ask exactly one prompt, wait for the answer, then advance. Conditionally omit a later prompt only when an earlier answer proves its field irrelevant; never bundle prompts.

<!-- email-evals:authoring-prompts:start --> 1. <!-- email-evals:field=use-case --> **use case** — Ask: “What is the synthetic use case?” 2. <!-- email-evals:field=existing-target-runtime --> **existing target runtime** — Ask: “Does the existing target runtime already run?” 3. <!-- email-evals:field=dedicated-actor-environment-name --> **dedicated actor environment name** — Ask: “What is the dedicated actor environment name?” 4. <!-- email-evals:field=dedicated-target-environment-name --> **dedicated target environment name** — Ask: “What is the dedicated target environment name?” 5. <!-- email-evals:field=expected-action --> **expected action** — Ask: “What is the expected action?” 6. <!-- email-evals:field=exact-allowed-recipients --> **exact allowed recipients** — Ask: “Which exact allowed recipients are required?” 7. <!-- email-evals:field=sender --> **sender** — Ask: “What is the sender?” 8. <!-- email-evals:field=reply-to --> **Reply-To** — Ask: “What is the Reply-To expectation?” 9. <!-- email-evals:field=thread --> **thread** — Ask: “What is the thread expectation?” 10. <!-- email-evals:field=subject --> **subject** — Ask: “What is the subject expectation?” 11. <!-- email-evals:field=required-facts --> **required facts** — Ask: “What required facts apply?” 12. <!-- email-evals:field=forbidden-patterns --> **forbidden patterns** — Ask: “What forbidden patterns apply?” 13. <!-- email-evals:field=attachments --> **attachments** — Ask: “What attachments are expected?” 14. <!-- email-evals:field=timeout --> **timeout** — Ask: “What timeout applies?” 15. <!-- email-evals:field=lifecycle --> **lifecycle** — Ask: “What lifecycle outcome is required?” <!-- email-evals:authoring-prompts:end -->

This skill does not build or start the target agent runtime.

Refuse real customer messages, identifiers, customer domains, or production-derived fixtures. Immediately propose a synthetic replacement, such as a fictional order identifier and a `.test` mailbox. Keep every case and attachment synthetic.

Do not scaffold until these answers are sufficient to make deterministic assertions.

Contain the evaluation before setup

Never change e2a protection. Tell the user to configure containment separately, in the same dedicated account for e2a, with an account-scoped API key:

  • actor: `allowlist/block [target]`
  • target: `allowlist/block [actor, probes...]`

Use dedicated actor and target agents only. Do not infer, broaden, or repair protection settings; surface protection failures during validation instead.

Scaffold, edit, and validate

After gathering sufficient answers, scaffold the suite:

Resolve the absolute directory containing this loaded `SKILL.md` resource. For the tool call, set `EMAIL_EVALS_LAUNCHER` to the absolute path formed by joining that resource directory with `email-evals.sh`. This is an agent-local value, not a persisted environment variable. Do not derive it from the user's current directory or a client-specific plugin-root variable.

"$EMAIL_EVALS_LAUNCHER" scaffold --root <suite-root> --name <suite-name> --target-env <target-env> --actor-env <actor-env>

Edit the generated `suite.yaml` and case YAML files to reflect the answers. The credential name is fixed outside suite authority: export only `E2A_EVAL_API_KEY`. YAML interpolation is limited to the documented actor, target, and probe mailbox fields; never interpolate names, actions, timing, subjects, bodies, patterns, or attachment metadata.

Then verify the checked-in, single-file plugin runtime bundle and validate the suite. Setup performs no package installation and never copies or executes JavaScript or dependencies beneath the suite root:

Resolve the absolute directory containing this loaded `SKILL.md` resource. For the tool call, set `EMAIL_EVALS_LAUNCHER` to the absolute path formed by joining that resource directory with `email-evals.sh`. This is an agent-local value, not a persisted environment variable. Do not derive it from the user's current directory or a client-specific plugin-root variable.

"$EMAIL_EVALS_LAUNCHER" setup --root <suite-root>
"$EMAIL_EVALS_LAUNCHER" validate --suite <suite-root>/suite.yaml

Show the complete alias-only dry-run plan, its `approvalDigest`, and any protection failures. Validation is the preflight gate; do not run a suite while it reports a protection or capability failure. Treat the digest as an opaque value; it binds the resolved identities, origin, containment posture, stimuli, assertions, recipients, and execution limits without revealing them.

The public `https://api.e2a.dev` origin is the default. If the suite names a custom/local origin, the operator must independently authorize the exact origin on every command with `--trusted-origin <origin>`; cleartext origins are restricted to loopback. Never infer this flag from suite content.

Request approval immediately before sending

Ask for explicit user approval immediately before `run`, because it sends real email between the dedicated agents. Do not treat earlier authoring answers as approval.

Only after that approval, run:

Resolve the absolute directory containing this loaded `SKILL.md` resource. For the tool call, set `EMAIL_EVALS_LAUNCHER` to the absolute path formed by joining that resource directory with `email-evals.sh`. This is an agent-local value, not a persisted environment variable. Do not derive it from the user

Read more
@tokencanopy
Ships withe2a

Open-source email API for applications and AI agents. Managed hosting at e2a.dev, or self-host with Docker.

2009 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
200
Star history of tokencanopy/e2a on GitHub, a chart by star-history.com

Other skills on e2a.

agentify

agentify

Beta — Deploy the autonomous-repo feedback loop into a GitHub repo. Scaffolds the lane workflows, the runtime skill, and one…

@tokencanopy@tokencanopyInstall Skill
runtime-skill

runtime-skill

Runtime procedures for the autonomous-repo feedback loop — triage incoming feedback into GitHub issues, prepare human-gated fix…

@tokencanopy@tokencanopyInstall Skill
autopilot

autopilot

Conversationally configure and operate a policy-first, always-on local e2a email agent. Use when someone wants an agent to…

@tokencanopy@tokencanopyInstall Skill
tether

tether

Beta — Stay in the loop over email during a long-running coding session. The agent sends threaded status updates to your inbox as…

@tokencanopy@tokencanopyInstall Skill
e2a-doctor

e2a-doctor

Use when an existing e2a MCP connection, inbox, custom domain, protection policy, webhook, or message delivery is failing or…

@tokencanopy@tokencanopyInstall Skill
e2a-integrate

e2a-integrate

Use when adding e2a email capabilities to an application or codebase: outbound sending, inbound signed webhooks, REST polling, or…

@tokencanopy@tokencanopyInstall Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw6d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca3d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip4d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about email-evals.

Which coding agents can use email-evals?
email-evals installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.