skills/get-attachment-content/SKILL.md
# Get Attachment Raw Content Retrieves the raw binary content of a specific attachment on a message, returned as an application/octet-stream. ## API Details - **API**: Microsoft Outlook Mail API - **Method**: GET - **Path**: `/me/messages/{message-id}/attachments/{attachment-id}/$value` - **Operation ID**: `getAttachmentContent` - **Tag**: MimeContent - **OpenAPI**: [microsoft-outlook-mail-api.yaml](../../openapi/microsoft-outlook-mail-api.yaml) ## Sandbox Mock server URL: `http://localhost
npx skillsauth add naftiko/microsoft-outlook-sandbox skills/get-attachment-contentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Retrieves the raw binary content of a specific attachment on a message, returned as an application/octet-stream.
/me/messages/{message-id}/attachments/{attachment-id}/$valuegetAttachmentContentMock server URL: http://localhost:8080/rest/microsoft-outlook-mail-api/1.0.0/me/messages/{message-id}/attachments/{attachment-id}/$value
Authorization: Bearer {access-token}Mail.ReadMail.ReadWrite| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| message-id | string | Yes | The unique identifier of the message |
| attachment-id | string | Yes | The unique identifier of the attachment |
curl -X GET "http://localhost:8080/rest/microsoft-outlook-mail-api/1.0.0/me/messages/AAMkAGI1AAAGB1rUAAA=/attachments/AAMkAGI1AAABEgAQAA==/$value" \
-H "Authorization: Bearer {access-token}" \
-o report.pdf
HTTP/1.1 200 OK
Content-Type: application/octet-stream
<raw binary content>
Use this operation to download the raw binary content of an attachment directly. Unlike the get attachment operation which returns metadata and base64-encoded content, this returns the raw bytes of the file as an application/octet-stream. This is more efficient for downloading large attachments since it avoids the overhead of base64 encoding. Use the -o flag with curl to save the output to a file. You need both the message ID and attachment ID, which can be obtained from the list attachments operation.
tools
# Update Open Extension Update an existing open type extension on a message. ## API Details - **API**: Microsoft Outlook Mail API - **Method**: PATCH - **Path**: `/me/messages/{message-id}/extensions/{extension-id}` - **Operation ID**: `updateOpenExtension` - **Tag**: Extensions - **OpenAPI**: [microsoft-outlook-mail-api.yaml](../../openapi/microsoft-outlook-mail-api.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-outlook-mail-api/1.0.0/me/messages/{message-id}/exten
development
# Update Message Updates the properties of an existing message in the signed-in user's mailbox, such as marking it as read or changing its importance. ## API Details - **API**: Microsoft Outlook Mail API - **Method**: PATCH - **Path**: `/me/messages/{message-id}` - **Operation ID**: `updateMessage` - **Tag**: Messages - **OpenAPI**: [microsoft-outlook-mail-api.yaml](../../openapi/microsoft-outlook-mail-api.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-outlook-mail-
development
# Update Inbox Rule Update the properties of an existing inbox message rule. ## API Details - **API**: Microsoft Outlook Mail API - **Method**: PATCH - **Path**: `/me/mailFolders/inbox/messageRules/{messageRule-id}` - **Operation ID**: `updateMessageRule` - **Tag**: InboxRules - **OpenAPI**: [microsoft-outlook-mail-api.yaml](../../openapi/microsoft-outlook-mail-api.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-outlook-mail-api/1.0.0/me/mailFolders/inbox/messageRule
development
# Update Mailbox Settings Update the user's mailbox settings such as automatic replies, locale, time zone, or working hours. ## API Details - **API**: Microsoft Outlook Mail API - **Method**: PATCH - **Path**: `/me/mailboxSettings` - **Operation ID**: `updateMailboxSettings` - **Tag**: MailboxSettings - **OpenAPI**: [microsoft-outlook-mail-api.yaml](../../openapi/microsoft-outlook-mail-api.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-outlook-mail-api/1.0.0/me/mail