Skip to main content
Glama
proton-mail-mcp

proton-mail-mcp

by sethbang

Reply to email

reply_email

Send threaded replies to an email message with proper In-Reply-To and References headers. Reads the original, targets the sender, and quotes it by default.

Instructions

Reply to an email message. Reads the original message and sends a reply with proper threading headers (In-Reply-To, References). The reply goes to the sender; on a message you sent, it goes to the people you sent it to. Response leads with a [sent-copy:verified|pending|unverified] token; the [reply-to:*] family of tokens does NOT apply here because this tool doesn't accept a replyTo parameter — there's no requested Reply-To to verify against. If you need Reply-To control or rewriting detection, use send_email. Note: for reply-to-all behavior, prefer the dedicated reply_all_email tool over passing replyAll: true here — both work, but the dedicated tool is more discoverable.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "uid": "<uid>"
    },
    "name": "reply_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNoAdditional CC recipients, separated by commas or semicolons, each name@example.com or "Name" <name@example.com>
bccNoBCC recipients, separated by commas or semicolons, each name@example.com or "Name" <name@example.com>
uidYesUID of the message to reply to
bodyNoReply body content (text or HTML). Required unless `markdownBody`.
dryRunNoIf true, resolve the reply recipients (and reply-all fan-out) + subject WITHOUT sending — returns a preview so you can confirm who would receive the reply before it goes out.
folderNoFolder containing the original message (default: INBOX)INBOX
isHtmlNoWhether the body contains HTML content
replyAllNoReply to all recipients (sender + TO + CC) instead of just sender
verifySentNoHow long to look for the Sent copy after SMTP accepts the message. "quick" (default): about 5 s, then `[sent-copy:pending]` if it hasn't appeared yet. "wait": up to about 30 s, then `[sent-copy:unverified]`. Either way the message was sent; this only confirms it.quick
saveAsDraftNoIf true, save the message to Drafts instead of sending it, so a person can review it. Send it later with send_draft; for a reply, pass the original as send_draft's threadWith, since Bridge doesn't keep a draft's threading headers (the result says exactly what to pass).
includeQuoteNoInclude quoted original message below reply body (default: true)
markdownBodyNoMarkdown source for the reply — mutually exclusive with `body`/`isHtml`.
sanitizeHtmlNoRun the HTML body through a conservative allowlist (strips scripts, event handlers, inline styles, remote `<img>` beacons). **Defaults to true**; pass `false` to preserve full-fidelity HTML. No-op on plain-text bodies.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv2.0.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / bcc / description
      Previous value: -"BCC recipients, separated by commas"New value: +"BCC recipients, separated by commas or semicolons, each name@example.com or \"Name\" <name@example.com>"
    • changedInput schema / properties / cc / description
      Previous value: -"Additional CC recipients, separated by commas"New value: +"Additional CC recipients, separated by commas or semicolons, each name@example.com or \"Name\" <name@example.com>"
    • changedInput schema / properties / sanitizeHtml / description
      Previous value: -"Run the HTML body through a conservative allowlist (strips scripts, event handlers, inline styles, remote `<img>` beacons). **Defaults to true as of v1.0.0**; pass `false` to preserve full-fidelity HTML. No-op on plain-text bodies."New value: +"Run the HTML body through a conservative allowlist (strips scripts, event handlers, inline styles, remote `<img>` beacons). **Defaults to true**; pass `false` to preserve full-fidelity HTML. No-op on plain-text bodies."
    • addedInput schema / properties / saveAsDraft
      Added value: +{
      +  "default": false,
      +  "description": "If true, save the message to Drafts instead of sending it, so a person can review it. Send it later with send_draft; for a reply, pass the original as send_draft's threadWith, since Bridge doesn't keep a draft's threading headers (the result says exactly what to pass).",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / verifySent
      Added value: +{
      +  "default": "quick",
      +  "description": "How long to look for the Sent copy after SMTP accepts the message. \"quick\" (default): about 5 s, then `[sent-copy:pending]` if it hasn't appeared yet. \"wait\": up to about 30 s, then `[sent-copy:unverified]`. Either way the message was sent; this only confirms it.",
      +  "enum": [
      +    "quick",
      +    "wait"
      +  ],
      +  "type": "string"
      +}
  2. First observedv1.0.1

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare write/open-world/non-idempotent/non-destructive, so the description carries real weight and does: recipient resolution rules (sender, or original recipients when replying to your own message), the [sent-copy:verified|pending|unverified] response token, and the caveat that Bridge does not retain draft threading headers so save_draft needs threadWith. Missing a note on failure modes (e.g. what happens if the UID is not found), but coverage is well above the annotation baseline.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and mechanism are front-loaded, then routing rules, then the response-token note. The [reply-to:*] paragraph is somewhat meta and dense, but it resolves a genuine ambiguity about expected output tokens rather than padding; overall the text is tight for a 13-parameter mutation tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 13-parameter write tool with no output schema, the description covers the important unknowns: threading behavior, recipient resolution, the verification token in the response, and draft-save threading caveats. It leaves the dryRun preview path entirely to the schema, which is acceptable given full description coverage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns above that by cross-referencing parameters behaviorally — why replyAll exists but reply_all_email is preferred, and the absence of replyTo. It doesn't add meaning for body/markdownBody exclusivity or cc/bcc beyond what the schema already states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Reply to an email message') and immediately characterizes the mechanism: reads the original and sends with In-Reply-To/References threading headers. It explicitly separates itself from send_email and reply_all_email, so an agent can route correctly without opening sibling schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit routing rules: use send_email when Reply-To control or rewriting detection is needed, and prefer the dedicated reply_all_email tool over replyAll:true because it is more discoverable. It also notes the reply-to token family does not apply because no replyTo parameter exists, which pre-empts a common mis-inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.