outlook-email-export
Export and extract emails from Outlook via COM automation in PowerShell. Covers searching by sender, recipient, CC, subject, or date range across Inbox, Sent Items, Direct, and Deleted Items folders. Exports to Markdown files with metadata tables. Handles COM elevation issues, DASL filters, recipient enumeration, deduplication, incremental exports, .msg extraction, and embedded email processing via CreateItemFromTemplate. USE FOR: export emails, extract emails, Outlook export, read emails, email to markdown, export Outlook folder, search Outlook emails, email extraction, COM automation Outlook, Outlook COM, export mailbox, Mueller emails, email archive, export calendar, Outlook calendar, .msg extraction, embedded email, CreateItemFromTemplate. DO NOT USE FOR: sending emails (use send-outlook-email skill), Microsoft Graph API, Exchange Web Services, IMAP/POP access.
- Compatibility
- Requires Windows with the classic Outlook desktop client and PowerShell 5.1+ for COM automation.
Pinned to revision 7a186c5dfcf8, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.