Skip to content
Agent Orchestration
Skill

/e2a-doctor

Use when an existing e2a MCP connection, inbox, custom domain, protection policy, webhook, or message delivery is failing or unclear. Diagnoses read-only through MCP first, ranks evidence-backed causes, and offers individually confirmed repairs; uses the CLI doctor only when CLI

From plugin
e2a
2009 skills1 MCP

Claude Code

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

SKILL.md

e2a-doctor.SKILL.md
name: e2a-doctor
description: "Use when an existing e2a MCP connection, inbox, custom domain, protection policy, webhook, or message delivery is failing or unclear. Diagnoses read-only through MCP first, ranks evidence-backed causes, and offers individually confirmed repairs; uses the CLI doctor only when CLI or self-hosted diagnostics are specifically relevant."

Diagnose and repair e2a

Start from the symptom

Identify the failing surface and the smallest safe target: an inbox address, domain, webhook ID, message ID, time window, or exact error. Do not request message content unless it is necessary to diagnose the symptom. Inspect the available e2a MCP tools; use the e2a MCP `whoami` tool, never the shell command.

Keep diagnosis separate from repair. Begin MCP-first, read-only diagnosis with the existing authorization; do not create a second credential or alter configuration.

Read-only MCP diagnosis

Call `whoami` first, then load only the symptom's minimum reads from [the diagnostic matrix](references/diagnostic-matrix.md). Use `get_agent` or `list_agents` only to establish inbox access; read `get_protection` and `list_pending_messages` for holds; use `list_suppressions` and `list_agent_suppressions` for recipient blocks; inspect `get_domain` and public, read-only DNS for domain symptoms; inspect `get_webhook` and `list_webhook_deliveries` for a webhook; and call `get_message_lifecycle` for one message's observed transitions.

Do not convert a missing tool, account-only scope, 401/403, or unavailable permission into a pass. Record it as an explicit skipped check, naming the unavailable read and the scope or authorization needed. Do not call `verify_domain`, `test_webhook`, `redeliver_event`, or any mutation while diagnosing.

Rank findings

Return a ranked list. Every finding must include `{cause, evidence, impact, remediation}` and state whether it is a definite configuration failure, authorization failure, asynchronous pending state, or transient service failure. Rank definite, high-impact causes above possibilities; keep evidence factual and targeted.

Treat `accepted`, `scheduled`, and `pending_review` as durable outcomes, not delivery receipts. Do not retry them: a second send can duplicate mail. Report the lifecycle or hold state, then wait for its next transition or an authorized human decision.

Offer guided repairs

Offer the least invasive remedy only after presenting the finding and its expected effect. Read [guided repairs](references/guided-repairs.md) before choosing one. Obtain confirmation for each state-changing repair; never bundle unrelated changes. A complete DNS diff confirmed as one unit is one repair. If confirmation is declined, leave state unchanged and report the manual next step.

After an accepted repair, perform the narrowest relevant read-only verification and update the finding; do not re-run a broad diagnostic sweep by default.

CLI-assisted branch

Use `e2a doctor --json` only when an already-authenticated CLI is the symptom's relevant surface, MCP is unavailable while that CLI already exists, or self-hosted diagnosis needs local environment or SMTP visibility. Interpret its versioned `e2a.doctor/v1` checks as evidence, then supplement with relevant MCP reads when available. Never install or configure the CLI solely for diagnosis.

Classify the CLI report's auth/configuration/transient outcomes separately from MCP authorization and asynchronous message or DNS states. Preserve credentials and known configuration when evidence is inconclusive.

Verify and report

Report the ranked findings, explicit skipped checks, accepted repairs, and the narrowest verification result. Distinguish a configuration fix from a permission request, pending async work, or an operational retry. State what remains pending and the exact safe condition for a later recheck; do not claim domain readiness from registration or message delivery from acceptance alone.

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-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
e2a-setup

e2a-setup

Use when a user wants to connect or authorize the e2a MCP server, select or create an agent inbox, verify first-run readiness, 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.

openclaw10d395k
@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…

orca8d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

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

paperclip9d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

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

@ruvnet@ruvnetInstall Skill

Questions about e2a-doctor.

Which coding agents can use e2a-doctor?
e2a-doctor 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.