$npx skillfedfor your agent

python-oxmsg

Extract attachments from Outlook .msg files.

With conditionsPyPI LibrariesReleased Feb 20253.4M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — python_oxmsg-0.0.2-py3-none-any.whl
v0.0.2 · released 2025-02-03 · Python >=3.9 · 3 runtime deps: click, olefile, typing_extensions

Yes, if you need to read Outlook MSG files and extract attachments or metadata. The package is straightforward, has low install friction, and carries no known security vulnerabilities. The dormant maintenance status (557 days since last release) is a minor concern for a young Alpha project, but the recent repository activity and permissive MIT license make it a reasonable choice for read-only MSG extraction tasks. Not suitable if you need to modify or create MSG files.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later.
  • Low friction install with three lightweight runtime dependencies (click, olefile, typing_extensions).
  • Project is dormant—last release was 557 days ago—but the repository remains active with a recent commit on 2025-02-03.

License · maintenance · safety

MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions.

last release 2025-02-03 (557 days) · last repo commit 2025-02-03 · 18 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,404,958 downloads/mo, #2,633 on PyPI

Verify before relying

pip install python-oxmsg

from oxmsg import Message
msg = Message.load("message.msg")
print(msg.sender)
for attachment in msg.attachments:
    with open(attachment.file_name, "wb") as f:
        f.write(attachment.file_bytes)
  • Whether the package handles all MSG format variants and edge cases reliably, given its Alpha status.
  • Performance characteristics when processing large MSG files or many attachments.
  • Whether dormancy (557 days since last release) signals maintenance concerns or stable maturity.
Same gist for agents: .md · .json

What it is and what it does

python-oxmsg is a Python library for reading Outlook MSG files and extracting their contents. It parses the binary MSG format (MS-OXMSG) to give you access to message text, metadata like sender and sent date, and any attached files. The library is read-only—it extracts data from existing MSG files but does not support modifying messages or creating new ones from scratch.

The package provides both a programmatic API (via the Message class) and a command-line utility for diagnostic inspection. It depends on click for CLI support, olefile for parsing the OLE2 container format that MSG files use, and typing_extensions for type hints. It supports Python 3.9 through 3.12 and is classified as Alpha, reflecting that it handles the core extraction use case but may not cover all MSG format edge cases.

Use it for

  • Batch extract attachments from a folder of Outlook MSG files for archival or processing.
  • Programmatically read email metadata (sender, subject, date) from MSG files in an automation workflow.
  • Inspect MSG file structure and properties using the CLI dump command for debugging or forensic analysis.
  • Integrate MSG parsing into a document management or email migration tool.
  • Extract message text and metadata to index or search Outlook messages outside of Outlook.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to read Outlook MSG files and extract attachments or metadata.

The package is straightforward, has low install friction, and carries no known security vulnerabilities. The dormant maintenance status (557 days since last release) is a minor concern for a young Alpha project, but the recent repository activity and permissive MIT license make it a reasonable choice for read-only MSG extraction tasks. Not suitable if you need to modify or create MSG files.

Install

python-oxmsg on PyPI

Before you install

Low friction install with three lightweight runtime dependencies (click, olefile, typing_extensions). Project is dormant—last release was 557 days ago—but the repository remains active with a recent commit on 2025-02-03.

Requires Python 3.9 or later.

License in practice

MIT license is permissive, allowing commercial and private use with minimal restrictions.

Quickstart

pip install python-oxmsg

from oxmsg import Message
msg = Message.load("message.msg")
print(msg.sender)
for attachment in msg.attachments:
    with open(attachment.file_name, "wb") as f:
        f.write(attachment.file_bytes)

Verify before relying

  • Whether the package handles all MSG format variants and edge cases reliably, given its Alpha status.
  • Performance characteristics when processing large MSG files or many attachments.
  • Whether dormancy (557 days since last release) signals maintenance concerns or stable maturity.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
clickolefiletyping_extensions
MaintenanceDormant 557 days since the last release
Last repo commit
First released
Downloads3,404,958 / month, #2,633 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9Topic :: Communications :: EmailTopic :: File FormatsTopic :: Office/Business :: Office SuitesTopic :: Software Development :: Libraries

Evidence: python_oxmsg-0.0.2-py3-none-any.whl

Tags

Capabilities
outlook msg file parserextract email from msg filesoutlook attachment extractionmsg file reader pythonparse outlook messagesemail attachment extractormsg format parser
Topics
email-parsingoutlook-integrationfile-format
PyPI keywords
ms-oxmsgoutlookemail

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “outlook msg file parser”

  • python-oxmsgParses Outlook MSG files to extract email messages, attachments, and…
  • extract-msgExtracts email metadata (from, to, cc, date, subject, body) and…
  • msg-parserParses Microsoft Outlook MSG email files, extracting message data and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also extract-msg · msg-parser · mail-parser · tnefparse · eml-parser · rtfparse · RTFDE · olefile · mailbits