{"categories":[{"label":"Security","url":"https://skillfed.io/packages/category/security"}],"enrichment":{"capability":"Parses raw email messages into structured Python objects with RFC compliance, extracting headers, bodies, attachments, routing information, and defects for security analysis and forensics.","skillfed_tags":["email-security","forensics","rfc-compliant"],"use_cases":["Security analysis: detect malformed email structures, RFC violations, and anomalies that may indicate phishing or malware.","Email forensics: extract complete routing chains, timestamps, and metadata for incident investigation and evidence preservation.","Outlook integration: parse .msg files from Microsoft Outlook alongside standard .eml messages in unified workflows.","Compliance auditing: extract and validate email headers and routing for regulatory requirements and audit trails.","Threat intelligence: feed parsed email components into automated detection systems for spam, phishing, and malware analysis."],"what_it_does":"mail-parser is a production-grade email parsing library that transforms raw email messages into richly structured Python objects. It goes beyond Python's standard email module by extracting every component\u2014headers, plain-text and HTML bodies, attachments with full metadata, routing chains from Received headers, and RFC defects\u2014into a unified object model. Every parsed element is accessible in three formats: native Python objects for direct use, raw strings preserving original formatting, and JSON for integration with external systems.\n\nThe library is built for security and forensics use cases, with particular strength in detecting malformed structures, RFC violations, and hidden content that could indicate malicious intent. It natively handles both standard .eml files and Microsoft Outlook .msg files (via the optional extract-msg backend). With no runtime dependencies and support for Python 3.9 through 3.14, it is designed to integrate into production email security pipelines, threat analysis platforms, and compliance workflows.","worth_installing":"Yes. mail-parser is actively maintained, has no runtime dependencies, supports current Python versions, carries a permissive Apache-2.0 license, and has no known vulnerabilities. It is purpose-built for email security and forensics with proven production use. Install it if you need reliable, RFC-compliant email parsing with security-focused defect detection; the optional Outlook support makes it versatile for mixed email ecosystems."},"id":"mail-parser","links":{"html":"https://skillfed.io/packages/mail-parser","md":"https://skillfed.io/packages/mail-parser.md","pypi":"https://pypi.org/project/mail-parser/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-12","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"mail-parser","python_support":"supports_current","summary":"A tool that parses emails by enhancing the Python standard library, extracting all details into a comprehensive object."},"popularity":{"monthly_downloads":3238692,"position":2687,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"4.6.2"}
