Skip to main content
Glama

get-mail-attachment

Retrieve email attachments from Microsoft 365 by specifying message and attachment IDs. Access properties, relationships, or raw content of file, item, or reference attachments.

Instructions

Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
selectNoSelect properties to be returned
expandNoExpand related entities
messageIdYesPath parameter: messageId
attachmentIdYesPath parameter: attachmentId
fetchAllPagesNoAutomatically fetch all pages of results
includeHeadersNoInclude response headers (including ETag) in the response metadata
excludeResponseNoExclude the full response body and only return success or failure indication

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