Get Message MIME Content

Retrieves complete raw MIME content of an email message including headers, body, and attachments as a text stream.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/naftiko/microsoft-outlook-sandbox --skill get-message-mime-content
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: Get Message MIME Content
Source: https://github.com/naftiko/microsoft-outlook-sandbox/tree/main/skills/get-message-mime-content
Command: npx skills add https://github.com/naftiko/microsoft-outlook-sandbox --skill get-message-mime-content

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill retrieves the complete MIME representation of an email, including all headers, body, and attachments, which is essential for archiving, forwarding, or detailed analysis of raw email data.

Core Features & Use Cases

  • Full Email Content Retrieval: Access the raw MIME stream of any email.
  • Header Preservation: Ensures all original email headers are included.
  • Use Case: You need to forward an email to a support system that requires the full raw email format, including all headers and encoded attachments, to diagnose an issue.

Quick Start

Use the get message mime content skill to retrieve the MIME content for the message with ID 'AAMkAGI1AAAGB1rUAAA='.

Frequently Asked Questions about Get Message MIME Content

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve raw email MIME content including headers and attachments?▼

To retrieve raw email MIME content including headers and attachments, use this Skill to fetch a single text stream of the message. You need a valid message ID and an authorization token with Mail.Read or Mail.ReadWrite scope.

What is MIME content used for when processing Outlook messages?▼

MIME content provides the complete raw representation of an Outlook message, preserving all original headers and encoded attachments. It is primarily used for archiving, external forwarding, or detailed analysis of raw email data.

Do I need specific permissions to get the MIME content of an email?▼

Yes, you need an authorization token with either the Mail.Read or Mail.ReadWrite scope to get email MIME content. You also must supply a valid message ID to identify the specific email you want to retrieve.

Can I use the retrieved MIME stream for external forwarding to support systems?▼

Yes, you can use the retrieved MIME stream for external forwarding to support systems. The raw MIME format includes all original headers and encoded attachments intact, which is often required to diagnose support issues.

Does this Skill retrieve individual attachments or the full message stream?▼

This Skill retrieves the full message stream rather than individual attachments. It returns the complete MIME representation as a single text stream, ensuring all headers, body parts, and attachments are bundled together.