/molted:moltedfrom Molted
Adds email sending, replying, and inbox reading to agents via Molted's agent-native email infrastructure with MCP and REST APIs.
Ships in Molted. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Molted is agent-native email infrastructure: an API and MCP server for agents to send, receive, and reason about email, with built-in policy guardrails (rate limits, suppressions, consent, budgets) so an agent can't accidentally spam or get an account blocked, and inbound mail screened for prompt injection before the agent reads it.
For general email deliverability, authentication, compliance, or content-quality guidance that
isn't Molted-specific, see the other skills in this repo (skills/deliverability/,
skills/compliance/, etc.) instead.
MCP (recommended for an agent you're building with Claude, or any MCP-capable runtime).
This plugin ships a molted MCP server (plugins/molted/.mcp.json) pointed at
https://mcp.molted.email/mcp, authenticated with the API key saved in the plugin's api_key
option (Claude Code sends it as the Authorization: Bearer header). By default it exposes the
core toolset (send, reply, read-inbox, search, classify, contacts, lists, and more); journeys,
segments and the rest are opt-in toolsets (https://molted.email/docs/mcp-server#toolsets). Run
/molted:setup first to save a key. Tool names are namespaced:
mcp__plugin_molted_molted__<tool-name> (e.g. mcp__plugin_molted_molted__send_email).
REST (for anything that isn't an MCP-capable agent, e.g. a backend service, a cron job, or an
agent runtime that doesn't speak MCP). Call https://mailbox.molted.email directly with a
Bearer API key; it fills in your tenantId from the key. Your own service reads that key from its
own config or secret store, not from this plugin. The full endpoint reference is split out in reference/ - start with
reference/getting-started.md and reference/quick-reference.md.
Both paths hit the same policy engine and the same account, so you can mix them (e.g. MCP for the agent loop, REST from a webhook handler).
https://molted.email/signup?utm_source=claude-code-plugin.molted auth keys create --label claude-code --mailbox mbx_... --permissions read.
Keys are mailbox-scoped with a permissions list (read, send, or both)./plugin configure molted@email-skills (masked input, stored in
the system keychain). Never paste it into a chat. Then run /reload-plugins.Default to a read-only key (--permissions read) for anything that's just reading a test
inbox, classifying replies, or drafting. That makes sending impossible server-side - the safest
default for a new integration. Add send only once you actually want the agent sending mail, and
treat that as a deliberate opt-in, not the default. See /molted:setup in this plugin for a guided
walkthrough, including a permissions.deny snippet to block send-capable tools client-side if you
want dry-run behavior without any chance of a real send.
dry_run (the simulate-send / simulate-batch endpoints, or the dry_run MCP tool) needs
send permission even though it never actually sends - it runs the real policy engine and reports
what would happen.
Send:
POST /v1/agent/request-send with tenantId, recipientEmail, templateId or raw
content, mailboxId, and a dedupeKey (idempotency - reusing a key returns the original
result instead of sending twice).send_email (or draft_email to get a draft back without sending, reply to answer an
existing thread).policyTrace.decision.allow. A blocked
send is still a 200 with the reason in the trace, not a 4xx.Read / react:
GET /v1/agent/thread-context for a contact's history, POST /v1/agent/classify-intent
to classify an inbound reply (interested / OOO / bounce / unsubscribe / etc.), POST /v1/agent/next-best-action to get a suggested next step.read_inbox, get_thread, classify_inbound, next_best_action.GET /v1/agent/events/stream (SSE,
supports replay via since) or configure webhooks - see reference/webhooks.md and
reference/real-time-events-sse.md.Full request/response shapes: reference/core-workflow-send-an-email.md,
reference/simulate-before-sending.md, reference/classify-inbound-email.md,
reference/thread-context.md.
Every send goes through a policy engine before it leaves: rate limits, suppression lists (bounces, complaints, unsubscribes), consent checks for marketing sends, and contact fatigue scoring. You don't reimplement any of this - the API/MCP call either allows the send or tells you why not.
Three things worth knowing before you wire an agent in:
403 human_decision_required with a decisionUrl to hand to a
person. See reference/agents-may-tighten-never-loosen.md.reference/humanizer-config-agent-api.md and reference/email-humanizer.md.GET /v1/billing/status; Free for verified humans, Solo or Team otherwise). See
reference/getting-started.md.reference/INDEX.md lists every section, generated verbatim from the live Molted skill.md (the
same doc Molted serves at https://molted.email/skill.md for any agent to fetch directly). Files
there are regenerated by scripts/sync-molted-skill.mjs and shouldn't be hand-edited - if
something in there looks wrong or stale, the fix is either upstream (molted.email/skill.md) or a
re-run of the sync script, not a manual patch to a reference/*.md file.
Worth knowing up front: reference/quick-reference.md (endpoint table), reference/attachments.md,
reference/rate-limits.md, reference/idempotency.md, reference/error-handling.md,
reference/suppression-management.md, reference/multi-agent-coordination.md (if more than one
agent shares a mailbox).
Codex's plugin format forbids secrets and variable substitution in MCP headers (auth is the client's job, through OAuth), so this plugin doesn't support Codex until Molted's MCP server offers OAuth sign-in. Codex can still connect to the server from the user's own Codex config; https://molted.email/docs/mcp-server has the setup. REST works from a Codex-driven agent too.
reference/INDEX.md (opens in a new tab)reference/SOURCE.json (opens in a new tab)reference/agent-adoption-agent-api.md (opens in a new tab)reference/agent-analytics.md (opens in a new tab)reference/agentic-mailbox.md (opens in a new tab)reference/agents-may-tighten-never-loosen.md (opens in a new tab)reference/alert-destinations.md (opens in a new tab)reference/attachments.md (opens in a new tab)reference/audience-segmentation.md (opens in a new tab)reference/authentication.md (opens in a new tab)reference/batch-send.md (opens in a new tab)reference/check-budget.md (opens in a new tab)reference/classify-inbound-email.md (opens in a new tab)reference/common-patterns.md (opens in a new tab)reference/contacts.md (opens in a new tab)reference/core-workflow-send-an-email.md (opens in a new tab)reference/delivery-tracking.md (opens in a new tab)reference/domain-management-agent-api.md (opens in a new tab)reference/email-capture.md (opens in a new tab)reference/email-humanizer.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub chunkydotdev/email-skills --plugin moltedOther plugins' skills for the same job