Msg-parser
lastmod 2026-11-10created 2020-12-104 edits
msg-parser is a Python library that reads and parses Microsoft Outlook .msg mail files. Because MSG files use the OLE2 compound document format, it pulls streams out with olefile to extract the subject, sender, recipients, body, and attachments, and it can convert the result to a dict, JSON, or the standard EML format. It is used to process archived mail files on a server without Outlook.
This module enables reading, parsing and converting Microsoft Outlook MSG E-Mail files.