Skip to main content
Glama
Softeria

Microsoft 365 MCP Server

by Softeria

send-mail

send-mail
Destructive

Send email messages via JSON or MIME with optional attachments, saving to Sent Items or creating drafts.

Instructions

Send the message specified in the request body using either JSON or MIME format. When using JSON format, you can include a file attachment in the same sendMail action call. When using MIME format: This method saves the message in the Sent Items folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here.

šŸ’” TIP: CRITICAL: Do not try to guess the email address of the recipients. Use the list-users tool to find the email address of the recipients.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYes
confirmNoFor destructive operations when the confirm gate is enabled (MS365_MCP_REQUIRE_CONFIRM=true; off by default). Set to true only after the user has explicitly approved this action. When the gate is on, calls without confirm: true return { error: "confirmation_required" } without touching user data.
includeHeadersNoInclude response headers (including ETag) in the response metadata
excludeResponseNoExclude the full response body and only return success or failure indication

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed29 schema fields changedv0.145.2
    • removedInput schema / $defs
      Removed value: -{
      -  "def0": {
      -    "additionalProperties": true,
      -    "properties": {
      -      "dateTime": {
      -        "description": "A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000).",
      -        "type": "string"
      -      },
      -      "timeZone": {
      -        "description": "Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "def1": {
      -    "additionalProperties": true,
      -    "properties": {
      -      "emailAddress": {
      -        "additionalProperties": true,
      -        "properties": {
      -          "address": {
      -            "description": "The email address of the person or entity.",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "name": {
      -            "description": "The display name of the person or entity.",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "type": "object"
      -      }
      -    },
      -    "type": "object"
      -  }
      -}
    • removedInput schema / properties / body / properties / Message / properties / bccRecipients / items / $ref
      Removed value: -"#/$defs/def1"
    • addedInput schema / properties / body / properties / Message / properties / bccRecipients / items / additionalProperties
      Added value: +true
    • addedInput schema / properties / body / properties / Message / properties / bccRecipients / items / properties
      Added value: +{
      +  "emailAddress": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "address": {
      +        "description": "The email address of the person or entity.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "name": {
      +        "description": "The display name of the person or entity.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  }
      +}
    • addedInput schema / properties / body / properties / Message / properties / bccRecipients / items / type
      Added value: +"object"
    • removedInput schema / properties / body / properties / Message / properties / ccRecipients / items / $ref
      Removed value: -"#/$defs/def1"
    • addedInput schema / properties / body / properties / Message / properties / ccRecipients / items / additionalProperties
      Added value: +true
    • addedInput schema / properties / body / properties / Message / properties / ccRecipients / items / properties
      Added value: +{
      +  "emailAddress": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "address": {
      +        "description": "The email address of the person or entity.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "name": {
      +        "description": "The display name of the person or entity.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  }
      +}
    • addedInput schema / properties / body / properties / Message / properties / ccRecipients / items / type
      Added value: +"object"
    • removedInput schema / properties / body / properties / Message / properties / flag / properties / completedDateTime / $ref
      Removed value: -"#/$defs/def0"
    • addedInput schema / properties / body / properties / Message / properties / flag / properties / completedDateTime / additionalProperties
      Added value: +true
    • addedInput schema / properties / body / properties / Message / properties / flag / properties / completedDateTime / properties
      Added value: +{
      +  "dateTime": {
      +    "description": "A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000).",
      +    "type": "string"
      +  },
      +  "timeZone": {
      +    "description": "Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  }
      +}
    • addedInput schema / properties / body / properties / Message / properties / flag / properties / completedDateTime / type
      Added value: +"object"
    • removedInput schema / properties / body / properties / Message / properties / flag / properties / dueDateTime / $ref
      Removed value: -"#/$defs/def0"
    • addedInput schema / properties / body / properties / Message / properties / flag / properties / dueDateTime / additionalProperties
      Added value: +true
    • addedInput schema / properties / body / properties / Message / properties / flag / properties / dueDateTime / properties
      Added value: +{
      +  "dateTime": {
      +    "description": "A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000).",
      +    "type": "string"
      +  },
      +  "timeZone": {
      +    "description": "Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  }
      +}
    • addedInput schema / properties / body / properties / Message / properties / flag / properties / dueDateTime / type
      Added value: +"object"
    • removedInput schema / properties / body / properties / Message / properties / flag / properties / startDateTime / $ref
      Removed value: -"#/$defs/def0"
    • addedInput schema / properties / body / properties / Message / properties / flag / properties / startDateTime / additionalProperties
      Added value: +true
    • addedInput schema / properties / body / properties / Message / properties / flag / properties / startDateTime / properties
      Added value: +{
      +  "dateTime": {
      +    "description": "A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000).",
      +    "type": "string"
      +  },
      +  "timeZone": {
      +    "description": "Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  }
      +}
    • addedInput schema / properties / body / properties / Message / properties / flag / properties / startDateTime / type
      Added value: +"object"
    • removedInput schema / properties / body / properties / Message / properties / from / $ref
      Removed value: -"#/$defs/def1"
    • addedInput schema / properties / body / properties / Message / properties / from / additionalProperties
      Added value: +true
    • addedInput schema / properties / body / properties / Message / properties / from / properties
      Added value: +{
      +  "emailAddress": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "address": {
      +        "description": "The email address of the person or entity.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "name": {
      +        "description": "The display name of the person or entity.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  }
      +}
    • addedInput schema / properties / body / properties / Message / properties / from / type
      Added value: +"object"
    • removedInput schema / properties / body / properties / Message / properties / toRecipients / items / $ref
      Removed value: -"#/$defs/def1"
    • addedInput schema / properties / body / properties / Message / properties / toRecipients / items / additionalProperties
      Added value: +true
    • addedInput schema / properties / body / properties / Message / properties / toRecipients / items / properties
      Added value: +{
      +  "emailAddress": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "address": {
      +        "description": "The email address of the person or entity.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "name": {
      +        "description": "The display name of the person or entity.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  }
      +}
    • addedInput schema / properties / body / properties / Message / properties / toRecipients / items / type
      Added value: +"object"
  2. Changed14 schema fields changedv0.134.4
    • addedInput schema / $defs
      Added value: +{
      +  "def0": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "dateTime": {
      +        "description": "A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000).",
      +        "type": "string"
      +      },
      +      "timeZone": {
      +        "description": "Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "def1": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "emailAddress": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "address": {
      +            "description": "The email address of the person or entity.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "description": "The display name of the person or entity.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "type": "object"
      +  }
      +}
    • changedInput schema / properties / body / properties / Message / properties / bccRecipients / items / $ref
      Previous value: -"#/properties/body/properties/Message/properties/from"New value: +"#/$defs/def1"
    • changedInput schema / properties / body / properties / Message / properties / ccRecipients / items / $ref
      Previous value: -"#/properties/body/properties/Message/properties/from"New value: +"#/$defs/def1"
    • addedInput schema / properties / body / properties / Message / properties / flag / properties / completedDateTime / $ref
      Added value: +"#/$defs/def0"
    • removedInput schema / properties / body / properties / Message / properties / flag / properties / completedDateTime / additionalProperties
      Removed value: -true
    • removedInput schema / properties / body / properties / Message / properties / flag / properties / completedDateTime / properties
      Removed value: -{
      -  "dateTime": {
      -    "description": "A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000).",
      -    "type": "string"
      -  },
      -  "timeZone": {
      -    "description": "Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  }
      -}
    • removedInput schema / properties / body / properties / Message / properties / flag / properties / completedDateTime / type
      Removed value: -"object"
    • changedInput schema / properties / body / properties / Message / properties / flag / properties / dueDateTime / $ref
      Previous value: -"#/properties/body/properties/Message/properties/flag/properties/completedDateTime"New value: +"#/$defs/def0"
    • changedInput schema / properties / body / properties / Message / properties / flag / properties / startDateTime / $ref
      Previous value: -"#/properties/body/properties/Message/properties/flag/properties/completedDateTime"New value: +"#/$defs/def0"
    • addedInput schema / properties / body / properties / Message / properties / from / $ref
      Added value: +"#/$defs/def1"
    • removedInput schema / properties / body / properties / Message / properties / from / additionalProperties
      Removed value: -true
    • removedInput schema / properties / body / properties / Message / properties / from / properties
      Removed value: -{
      -  "emailAddress": {
      -    "additionalProperties": true,
      -    "properties": {
      -      "address": {
      -        "description": "The email address of the person or entity.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "name": {
      -        "description": "The display name of the person or entity.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  }
      -}
    • removedInput schema / properties / body / properties / Message / properties / from / type
      Removed value: -"object"
    • changedInput schema / properties / body / properties / Message / properties / toRecipients / items / $ref
      Previous value: -"#/properties/body/properties/Message/properties/from"New value: +"#/$defs/def1"
  3. Changed1 schema field changedv0.131.2
    • changedInput schema / additionalProperties
      Previous value: -falseNew value: +true
  4. Changed1 schema field changedv0.131.1
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "For destructive operations when the confirm gate is enabled (MS365_MCP_REQUIRE_CONFIRM=true; off by default). Set to true only after the user has explicitly approved this action. When the gate is on, calls without confirm: true return { error: \"confirmation_required\" } without touching user data.",
      +  "type": "boolean"
      +}
  5. Addedv0.114.0
  6. Removedv0.112.2
  7. Addedv0.110.0
  8. Removedv0.108.0
  9. Changed21 schema fields changedv0.96.0
    • changedInput schema / properties / body / additionalProperties
      Previous value: -falseNew value: +true
    • addedInput schema / properties / body / properties / Message / properties / bccRecipients / items / $ref
      Added value: +"#/properties/body/properties/Message/properties/from"
    • removedInput schema / properties / body / properties / Message / properties / bccRecipients / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / body / properties / Message / properties / bccRecipients / items / properties
      Removed value: -{
      -  "emailAddress": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "address": {
      -        "description": "The email address of the person or entity.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "name": {
      -        "description": "The display name of the person or entity.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  }
      -}
    • removedInput schema / properties / body / properties / Message / properties / bccRecipients / items / type
      Removed value: -"object"
    • changedInput schema / properties / body / properties / Message / properties / body / additionalProperties
      Previous value: -falseNew value: +true
    • changedInput schema / properties / body / properties / Message / properties / ccRecipients / items / $ref
      Previous value: -"#/properties/body/properties/Message/properties/bccRecipients/items"New value: +"#/properties/body/properties/Message/properties/from"
    • changedInput schema / properties / body / properties / Message / properties / flag / additionalProperties
      Previous value: -falseNew value: +true
    • changedInput schema / properties / body / properties / Message / properties / flag / properties / completedDateTime / additionalProperties
      Previous value: -falseNew value: +true
    • removedInput schema / properties / body / properties / Message / properties / from / $ref
      Removed value: -"#/properties/body/properties/Message/properties/bccRecipients/items"
    • addedInput schema / properties / body / properties / Message / properties / from / additionalProperties
      Added value: +true
    • addedInput schema / properties / body / properties / Message / properties / from / properties
      Added value: +{
      +  "emailAddress": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "address": {
      +        "description": "The email address of the person or entity.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "name": {
      +        "description": "The display name of the person or entity.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  }
      +}
    • addedInput schema / properties / body / properties / Message / properties / from / type
      Added value: +"object"
    • changedInput schema / properties / body / properties / Message / properties / internetMessageHeaders / description
      Previous value: -"A collection of message headers defined by RFC5322. The set includes message headers indicating the network path taken by a message from the sender to the recipient. It can also contain custom message headers that hold app data for the message.  Returned only on applying a $select query option. Read-only."New value: +"A collection of message headers defined by RFC5322. The set includes message headers indicating the network path taken by a message from the sender to the recipient. It can also contain custom message headers that hold app data for the message.  Requires $select to retrieve. Read-only."
    • changedInput schema / properties / body / properties / Message / properties / internetMessageHeaders / items / additionalProperties
      Previous value: -falseNew value: +true
    • removedInput schema / properties / body / properties / Message / properties / isRead
      Removed value: -{
      -  "description": "Indicates whether the message has been read.",
      -  "type": [
      -    "boolean",
      -    "null"
      -  ]
      -}
    • removedInput schema / properties / body / properties / Message / properties / isReadReceiptRequested
      Removed value: -{
      -  "description": "Indicates whether a read receipt is requested for the message.",
      -  "type": [
      -    "boolean",
      -    "null"
      -  ]
      -}
    • addedInput schema / properties / body / properties / Message / properties / multiValueExtendedProperties
      Added value: +{
      +  "description": "The collection of multi-value extended properties defined for the message. Nullable.",
      +  "items": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "id": {
      +        "description": "The unique identifier for an entity. Read-only.",
      +        "type": "string"
      +      },
      +      "value": {
      +        "description": "A collection of property values.",
      +        "items": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • removedInput schema / properties / body / properties / Message / properties / parentFolderId
      Removed value: -{
      -  "description": "The unique identifier for the message's parent mailFolder.",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • addedInput schema / properties / body / properties / Message / properties / singleValueExtendedProperties
      Added value: +{
      +  "description": "The collection of single-value extended properties defined for the message. Nullable.",
      +  "items": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "id": {
      +        "description": "The unique identifier for an entity. Read-only.",
      +        "type": "string"
      +      },
      +      "value": {
      +        "description": "A property value.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / body / properties / Message / properties / toRecipients
      Added value: +{
      +  "description": "The To: recipients for the message.",
      +  "items": {
      +    "$ref": "#/properties/body/properties/Message/properties/from"
      +  },
      +  "type": "array"
      +}
  10. First observedv0.31.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already carry readOnlyHint=false and destructiveHint=true, and the description adds meaningful behavior on top: MIME-format sends are saved to Sent Items, and the JSON format supports file attachments in the same call. However, with destructiveHint=true and the irreversibility of an email send, one would expect an explicit acknowledgment of the irreversible/real-world side effect (e.g., confirmation-gate behavior connects to the confirm param, but only the schema explains it). No contradiction with annotations, but the safety-sensitive nature deserved a sentence.

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

Conciseness3/5

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

The writing is mostly tight and front-loaded with the primary verb, and the critical warning is visually separated. However, the 'To learn more... see here' link is a dead reference — the URL was stripped, leaving a dangling pointer that an agent cannot follow. The 'šŸ’” TIP: CRITICAL:' stacking is also redundant (a tip that is also critical). These small issues keep an otherwise compact description from being polished.

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

Completeness3/5

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

For a single-action tool with 4 parameters and no output schema, the description covers the two most critical behaviors (send, and the JSON-attachment constraint) plus a critical user-safety rule. Yet for a tool marked destructiveHint=true with a confirm-gate parameter, a brief note about the confirmation flow or the likely response shape would have made the description complete. Adequate but not comprehensive for the tool's complexity.

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?

At 75% schema coverage, the baseline is 3, and the description does not need to compensate heavily. The JSON/MIME format discussion adds marginal meaning to the 'body' parameter by telling the agent that attachments are only available in JSON mode. It does not, however, explain the distinction between the two remaining parameters (includeHeaders, excludeResponse) or add anything about the confirm gate, though those are reasonably self-describing in the schema.

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 opens with a clear verb+resource ('Send the message specified in the request body') and adds the JSON/MIME format distinction that meaningfully scopes the tool. It differentiates from draft creation ('create a draft message to send later'), which helps an agent distinguish it from the many mail siblings. It loses a point because it never explicitly names sibling tools like send-draft-message or create-draft-email, leaving the agent to infer which sibling it means.

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 a genuine when-not-to-use signal ('Alternatively, create a draft message to send later') and a highly actionable correctness tip about using list-users rather than guessing recipient addresses. However, the sibling space contains at least four near-cousins (send-draft-message, create-draft-email, forward-mail-message, reply-mail-message) and none are named or contrasted, so an agent navigating the directory gets no help choosing among them.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Softeria/ms-365-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server