Skip to main content
Glama

Send an email

email_send
Destructive

Send a real email from the user's connected mailbox (default: the oldest one). Give bodyHtml and/or bodyText. Pass contactId so merge tags resolve and the email threads to that contact. To reply in a conversation pass inReplyTo. At most 50 recipients (to+cc+bcc); a list is a campaign. One-to-one mail ignores the campaign suppression list. Confirm with the user first.

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>"
    },
    "name": "email_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNo
toYesAddress or comma-separated list.
bccNo
subjectYes
bodyHtmlNo
bodyTextNo
fromNameNo
threadIdNoReply: that conversation's thread_id (used if inReplyTo is not found).
accountIdNoSending mailbox, from email_accounts_list.
contactIdNo
fromEmailNoSend-as alias registered on that mailbox; others are refused (INVALID_FROM).
inReplyToNoReply: the message_id ("<...>") of the message answered, from email_read thread.
trackOpensNoAdds an open-tracking pixel (approximate).
scheduledSendAtNoFuture ISO 8601 time to send at.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / inReplyTo
      Added value: +{
      +  "description": "Reply: the message_id (\"<...>\") of the message answered, from email_read thread.",
      +  "type": "string"
      +}
    • addedInput schema / properties / threadId
      Added value: +{
      +  "description": "Reply: that conversation's thread_id (used if inReplyTo is not found).",
      +  "type": "string"
      +}
  2. Changed12 schema fields changed
    • changedInput schema / properties / accountId / description
      Previous value: -"Optional mailbox UUID from email_accounts_list. Defaults to the oldest connected mailbox."New value: +"Sending mailbox, from email_accounts_list."
    • removedInput schema / properties / bcc / description
      Removed value: -"BCC list (comma-separated)."
    • removedInput schema / properties / bodyHtml / description
      Removed value: -"HTML body (preferred). Supports merge tags."
    • removedInput schema / properties / bodyText / description
      Removed value: -"Plain-text body. Sent alongside HTML if both given."
    • removedInput schema / properties / cc / description
      Removed value: -"CC list (comma-separated)."
    • removedInput schema / properties / contactId / description
      Removed value: -"Optional contact UUID. When set, merge tags resolve and the thread attaches to the contact. It does not pick the mailbox."
    • changedInput schema / properties / fromEmail / description
      Previous value: -"Optional Send-as alias to send from, e.g. \"adam@example.com\". Must be the mailbox's own address or an alias registered on it under Settings → Email; anything else is refused with INVALID_FROM. Does not pick the mailbox — pair with accountId when there is more than one."New value: +"Send-as alias registered on that mailbox; others are refused (INVALID_FROM)."
    • removedInput schema / properties / fromName / description
      Removed value: -"Optional display name for the From header. Defaults to the alias's or mailbox's saved name."
    • changedInput schema / properties / scheduledSendAt / description
      Previous value: -"Optional future ISO 8601 timestamp. When set the message is queued and dispatched by the per-minute cron at that time."New value: +"Future ISO 8601 time to send at."
    • removedInput schema / properties / subject / description
      Removed value: -"Subject line. Supports merge tags when contactId is provided."
    • changedInput schema / properties / to / description
      Previous value: -"Recipient email or comma-separated list."New value: +"Address or comma-separated list."
    • changedInput schema / properties / trackOpens / description
      Previous value: -"When true, inject a 1x1 open-tracking pixel. Signal is approximate (Gmail proxies + Apple Mail Privacy interfere)."New value: +"Adds an open-tracking pixel (approximate)."
  3. Changed2 schema fields changed
    • addedInput schema / properties / fromEmail
      Added value: +{
      +  "description": "Optional Send-as alias to send from, e.g. \"adam@example.com\". Must be the mailbox's own address or an alias registered on it under Settings → Email; anything else is refused with INVALID_FROM. Does not pick the mailbox — pair with accountId when there is more than one.",
      +  "type": "string"
      +}
    • addedInput schema / properties / fromName
      Added value: +{
      +  "description": "Optional display name for the From header. Defaults to the alias's or mailbox's saved name.",
      +  "type": "string"
      +}
  4. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Goes well beyond the annotations by stating the default mailbox is the oldest account, that a 50-recipient cap applies, that one-to-one mail bypasses the campaign suppression list, and that fromEmail must be a registered alias or the call fails with INVALID_FROM. The explicit "Confirm with the user first" and the irreversible real-send framing are exactly the kind of context annotations alone cannot convey.

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?

Dense and front-loaded: the sending action and body requirements come first, threading and limits follow, and the confirmation warning closes. The telegraphic fragments are efficient but occasionally terse enough to read as shorthand rather than explanation.

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 destructive, open-world 14-parameter tool this covers the essential hazards: default mailbox selection, recipient cap, alias validation, and the need to confirm before sending. What the call returns is unexplained, which matters given there is no output 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?

With 50% schema coverage across 14 parameters, the description adds real meaning for contactId (merge-tag resolution plus threading), inReplyTo, and the to/cc/bcc combined cap. It says nothing about fromName, trackOpens, or scheduledSendAt, so a meaningful share of parameters still rely solely on the schema.

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?

"Send a real email from the user's connected mailbox" gives a specific verb plus resource and immediately separates this from drafting tools and from sms_send. The clause "a list is a campaign" further distinguishes one-to-one sending from bulk campaign sends.

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

Usage Guidelines4/5

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

Gives concrete invocation guidance: supply bodyHtml and/or bodyText, pass contactId for merge tags and threading, use inReplyTo to reply, and confirm with the user first. It implies bulk sending belongs to campaigns but never explicitly names email_draft_save as the alternative for composing without sending.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources