email2md
Convert email files (.eml, .msg) to Markdown (default) or HTML.
Install
pip install email2md
CLI usage
Prefix with uvx to run as a portable tool "without installing".
# markdown (default)
email2md message.msg
# HTML
email2md message.eml --html
# read from stdin
cat message.msg | email2md > message.md
# save attachments, reference image instead of inlining as b64
email2md message.msg --save-attachments --reference-images -o ./output > message.md
For all flags:
email2md --help
Python usage
from email2md import ConvertOptions, to_markdown
md = to_markdown(
"message.eml",
ConvertOptions(include_headers=True, save_attachments=False, inline_images=True),
)
Metadata
Release files for email2md 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| email2md-0.1.3.tar.gz | 62.1 kB | With provenance | Details for email2md-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| email2md-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for email2md-0.1.3-py3-none-any.whl |
Total release size: 69.3 kB
Release files / email2md-0.1.3.tar.gz
| Download URL | email2md-0.1.3.tar.gz |
|---|---|
| Size | 62.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3649ec6e0c9974c82cd85c48c566a7ed5c09f6ce5b5cffdf0968fd0c217361d1
|
|
BLAKE2b-256 checksum How to use checksums |
1267558142552942d23598bb662066a7536d40302c9b86277dee6f239480f623
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 19, 2025.
Transparency logRelease files / email2md-0.1.3-py3-none-any.whl
| Download URL | email2md-0.1.3-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9cc4000fc93528f05190b728a13bedd052717181544a7fbe99a6a0624b4d1d8
|
|
BLAKE2b-256 checksum How to use checksums |
a5e88052b238656f1196b56928929207716df79f45af7d81c406d5183e300674
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 19, 2025.
Transparency logSecurity for email2md 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for email2md-0.1.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 19, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.