Skip to main content
Glama
Thunderbird MCP by Commonpost

Thunderbird MCP by Commonpost

Compose Mail

sendMail
Destructive

Compose a new email with recipients, subject, body, and attachments, opening a review window by default; optionally send immediately or perform a dry-run check.

Instructions

Write a new email; a reply or forward goes through replyToMessage / forwardMessage, an unsent message through saveDraft (no draft mode here). By default it opens a filled-in compose window for the user to review and send: the result (Compose window opened) does not mean sent. skipReview sends at once, only if the user turned off the default-on skipReview block; dryRun only checks.

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": {
      "to": "<to>",
      "subject": "<subject>",
      "body": "<body>"
    },
    "name": "sendMail"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNoCC recipients (comma-separated)
toYesRecipient email address
bccNoBCC recipients (comma-separated)
bodyYesEmail body text
fromNoSender identity (email address or identity ID from listAccounts)
dryRunNoCheck only: report sender, recipients (with automatic Cc/Bcc), attachments and size, or the error; sends nothing
isHtmlNoThe body is HTML (default: false)
subjectYesEmail subject line
skipReviewNoSend without the compose window; refused while the skipReview block is on (default: false)
attachmentsNoAttachments: file paths (strings) or inline objects ({name, contentType, base64})

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.19.2
    • changedInput schema / properties / attachments / items / oneOf
      Previous value: -[
      -  {
      -    "description": "Absolute file path to attach",
      -    "type": "string"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "anyOf": [
      -      {
      -        "required": [
      -          "base64"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "required": [
      -          "content"
      -        ],
      -        "type": "object"
      -      }
      -    ],
      -    "properties": {
      -      "base64": {
      -        "contentEncoding": "base64",
      -        "description": "Base64-encoded file content",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "content": {
      -        "contentEncoding": "base64",
      -        "description": "Alias for base64 (accepted for backwards compatibility); base64 takes precedence when both are set",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "contentType": {
      -        "description": "MIME type, e.g. application/pdf",
      -        "type": "string"
      -      },
      -      "name": {
      -        "description": "Attachment filename",
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "name"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "description": "Absolute file path",
      +    "type": "string"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "anyOf": [
      +      {
      +        "required": [
      +          "base64"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "required": [
      +          "content"
      +        ],
      +        "type": "object"
      +      }
      +    ],
      +    "properties": {
      +      "base64": {
      +        "contentEncoding": "base64",
      +        "description": "File content, base64",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "content": {
      +        "contentEncoding": "base64",
      +        "description": "Old name of base64, which wins if both are set",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "contentType": {
      +        "description": "MIME type",
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "File name",
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "name"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedInput schema / properties / isHtml / description
      Previous value: -"Set to true if body contains HTML markup (default: false)"New value: +"The body is HTML (default: false)"
    • changedInput schema / properties / skipReview / description
      Previous value: -"Request direct sending without a compose window. Honored only when the user explicitly disables the default-on skipReview safety block (default: false)."New value: +"Send without the compose window; refused while the skipReview block is on (default: false)"
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

The most valuable disclosure is that 'Compose window opened' does not mean the mail was sent, which no annotation conveys, plus the skipReview refusal condition and dryRun's non-sending semantics. These align with destructiveHint=true and openWorldHint=true rather than contradicting them, though nothing is said about failure modes such as invalid recipients or account/identity errors.

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

Conciseness5/5

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

Three sentences, front-loaded with the core action and followed by the sibling routing, then the behavior that matters most (review window vs. send). The parentheticals are dense but each clause adds real routing or safety information.

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

Completeness5/5

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

For a 10-parameter mutation tool with no output schema, the definition covers the traps an agent would otherwise fall into: double-sending after a compose window opens, using skipReview improperly, and conflating dryRun with a real send. Remaining details (attachment limits, identity selection) are fully documented in the schema.

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

Parameters3/5

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

Schema description coverage is 100%, including skipReview's refusal rule and dryRun's reporting behavior, so the schema already carries parameter meaning. The description reinforces the skipReview and dryRun consequences in policy terms but adds little that the schema does not already state, and says nothing about the attachments or from parameters.

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?

Opening clause 'Write a new email' gives a specific verb and resource, and the definition immediately routes replies/forwards and drafts to replyToMessage, forwardMessage and saveDraft, so an agent can distinguish it from every close sibling without opening a schema.

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?

Explicit when-to-use and when-not-to-use: reply/forward belong to other tools, unsent messages to saveDraft, and the default-on skipReview block is named along with the condition that must hold before skipReview may be used. dryRun's checking-only role is also stated.

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