outlook-email-export

Export Outlook emails to Markdown files with metadata for archival.

11|1|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/raandree/CopilotAtelier --skill outlook-email-export
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: outlook-email-export
Source: https://github.com/raandree/CopilotAtelier/tree/main/Skills/outlook-email-export
Command: npx skills add https://github.com/raandree/CopilotAtelier --skill outlook-email-export

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This tool helps teams capture and archive Outlook emails by converting them into Markdown files with structured metadata, enabling reliable search, documentation, and long-term retention without manual copy-paste.

Core Features & Use Cases

  • Export emails from Outlook to Markdown files, including sender, recipients, dates, and subject.
  • Support searching by sender, recipient, CC, subject, and date range across Inbox, Sent Items, Direct, and Deleted Items; includes incremental exports and optional .msg extraction.
  • Deduplicate exports, handle COM elevation issues, and leverage embedded email processing via CreateItemFromTemplate for nested messages.

Quick Start

Run the Outlook Email Export script to generate Markdown files for your mailbox.

Frequently Asked Questions about outlook-email-export

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

FAQPage Schema
How do I export Outlook emails to Markdown files for archival and analysis?

Use a PowerShell script to export Outlook emails to Markdown files, extracting sender, recipients, dates, and subject metadata. This converts mailbox items into structured Markdown for reliable search and long-term retention without manual copy-paste.

Can I search and export Outlook emails by sender, recipient, or date range across multiple folders?

Yes, the export process searches Outlook emails by sender, recipient, CC, subject, and date range. It scans across Inbox, Sent Items, Direct, and Deleted Items folders to retrieve and convert matching messages to Markdown.

What is the best way to handle COM elevation issues when exporting Outlook emails via PowerShell?

Handling COM elevation issues during Outlook email export requires a PowerShell approach that securely manages COM object permissions and interactions. This ensures reliable access to mailbox folders without triggering access denied errors.

Does PowerShell email export support incremental exports and deduplication for Outlook mailboxes?

PowerShell email export supports incremental exports and deduplication for Outlook mailboxes. This prevents redundant file generation and ensures that only new or unique messages are processed into Markdown files during repeated runs.

How are embedded emails and attachments processed when converting Outlook items to Markdown?

Embedded emails are processed using the CreateItemFromTemplate method, while attachments are optionally extracted as .msg files. This ensures nested messages and accompanying files are preserved during the Outlook to Markdown conversion.