get-mail-message
Retrieve email message details from Microsoft 365, including properties, relationships, and HTML-formatted event message bodies for calendar integration.
Instructions
Get the properties and relationships of the eventMessage object. Apply the $expand parameter on the event navigation property to get the associated event in an attendee's calendar. Currently, this operation returns event message bodies in only HTML format.
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": {
"messageId": "<messageId>"
},
"name": "get-mail-message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| select | No | Select properties to be returned | |
| expand | No | Expand related entities | |
| messageId | Yes | Path parameter: messageId | |
| fetchAllPages | No | Automatically fetch all pages of results | |
| includeHeaders | No | Include response headers (including ETag) in the response metadata | |
| excludeResponse | No | Exclude the full response body and only return success or failure indication |