Skip to main content
Glama
email-mcp

email-mcp

by kerodkibatu

send_email

Sends a new email from a specified Outlook account, with optional CC, attachments, and true Send As. Use the account substring to avoid sending from the wrong mailbox.

Instructions

Send a new email. The account parameter is REQUIRED — pass a substring of the account name (e.g. SMTP address) to disambiguate. This prevents accidentally sending personal mail from a work account (or vice versa) when multiple accounts are configured in Outlook. Use the optional send_as parameter to send AS a different mailbox (true Send As — recipient sees the target address as the sender, no "on behalf of"). Requires Exchange "Send As" permission granted server-side on the target mailbox.

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

Input Schema

NameRequiredDescriptionDefault
ccNoCC recipients (comma-separated, optional)
toYesRecipient email address (comma-separated for multiple)
bodyYesEmail body (plain text)
accountYesREQUIRED. Substring of the sending account name (typically the SMTP address). Validated against configured accounts at runtime — error lists available accounts if no match. This is the TRANSPORT account (the mailbox actually submitting the message). When `send_as` is also set, this account must have Exchange "Send As" permission on the target mailbox.
send_asNoOptional. SMTP address of a mailbox to send AS. The recipient sees this address as the From with NO "on behalf of" suffix. Works by rewriting MAPI sender properties via PropertyAccessor. Constraints: (1) the `account` user must have Exchange "Send As" permission on this mailbox — granted by an Exchange admin; the MCP cannot grant or verify it. (2) The address must be resolvable by Exchange (typically same tenant); external addresses like gmail.com will fail at resolution. (3) If the permission is missing, Exchange may bounce the send, silently downgrade to "on behalf of", or leave the message in the Outbox — behavior depends on tenant policy. (4) Do NOT use this to spoof external senders; it only works inside an Exchange organization that explicitly authorized it.
subjectYesEmail subject
attachmentsNoOptional list of absolute file paths to attach. Forward or back slashes are accepted on Windows. No ~ or env-var expansion — pass fully resolved paths.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden and does so thoroughly. It explains that `account` is required to prevent sending from the wrong configured mailbox, details true Send As semantics, states the server-side Exchange permission requirement, and discloses failure modes such as bounced sends, silent downgrade to 'on behalf of', or messages left in the Outbox.

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?

The description is front-loaded with its purpose and then organized around the two parameters that carry operational risk: `account` and `send_as`. Every sentence adds useful information, and there is no redundant or filler wording.

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 7-parameter mutation tool with no annotations and no output schema, the description covers the highest-risk behaviors an agent must understand: mandatory account disambiguation and Send As permission/failure semantics. Less risky fields such as `to`, `cc`, `subject`, `body`, and `attachments` are handled thoroughly in the schema, so the description need not repeat them.

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 description coverage is 100%, so the baseline is 3. The description still adds meaningful context beyond the schema by explaining why `account` is required—to avoid accidentally sending personal mail from a work account when multiple Outlook accounts exist—and by reinforcing the Send As permission and resolution constraints.

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

Purpose4/5

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

The description states a specific verb and resource: 'Send a new email.' The word 'new' implicitly distinguishes it from reply_email and forward_email among the siblings, but it does not explicitly name those alternatives or draw the distinction, so it falls short of a full 5.

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

Usage Guidelines3/5

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

The description gives strong guidance for using the `account` and `send_as` parameters, including the rationale for account disambiguation. However, it offers no explicit when-to-use guidance relative to alternatives such as reply_email or forward_email, leaving that inference to the agent.

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