github.com/GOVCERT-LU/eml_parser ↗
python eml parser module
Open this visualization on its own page →
Contributors
8
Lines of Code
496
From
2013-04-29
To
2021-02-11
About GOVCERT-LU/eml_parser
eml_parser is a Python module designed to parse EML email files and extract structured information from them. The parser automatically identifies and returns various components of email messages, including sender and recipient details, subject lines, attachment metadata with cryptographic hashes, the chain of received servers, and URLs found within message bodies and HTML content.
The module is straightforward to install via pip and integrates file-magic for robust file type detection, though users can opt for alternative magic libraries if needed. It's particularly useful for security and forensics work, given that it comes from GOVCERT-LU, the Luxembourg government's Computer Security Incident Response Team, suggesting it's built with email threat analysis and investigation in mind.
The tool returns parsed email data in a structured format that includes computed metadata alongside raw extracted content, making it practical for automated email analysis pipelines, security scanning, and incident response workflows.