extract-msg 0.51.1
Extracts emails and attachments saved in Microsoft Outlook's .msg files
The extract-msg
Python package is a tool for extracting emails and attachments from Microsoft Outlook's .msg files. It automates the extraction of key email data and supports Python 3.8 and above. With its customization options, it's useful for data extraction and analysis from .msg files.
The package provides the command line tool extract_msg
that can be used to extract attachments and parse date, time, and subject of the message. Email and attachments are extracted into a folder
The TeamMsgExtractor/msg-extractor
repo was created 11 years ago and the last code push was Yesterday.
The project is popular with 734 github stars!
How to Install extract-msg
You can install extract-msg using pip
pip install extract-msg
or add it to a project with poetry
poetry add extract-msg
Package Details
- Author
- Destiny Peterson & Matthew Walker
- License
- GPL
- Homepage
- https://github.com/TeamMsgExtractor/msg-extractor
- PyPi:
- https://pypi.org/project/extract-msg/
- GitHub Repo:
- https://github.com/TeamMsgExtractor/msg-extractor
Related Packages
Errors
A list of common extract-msg errors.
Code Examples
Here are some extract-msg
code examples and snippets.
GitHub Issues
The extract-msg package has 14 open issues on GitHub
- Typo in command-line argument parsing
- Add method to generate htmlBody from rtfBody.
- Signed messages only show one attachment, the smime.p7m file itself
- Handle long file paths, expecially for deeply embeded MSG files.
- Saving file attachments
- Add property to grab the HTML body that is ready for conversion to PDF.