--- id: mail-parser-reply version: "1.36" license: MIT license_treatment: permissive maintenance: aging --- # mail-parser-reply — 📧 Email reply parser library for Python with multi-language support License: permissive · Maintenance: aging · Downloads: 379.3K/mo ## What it is and what it does Mail Reply Parser is a Python library that extracts individual replies from email message bodies by recognizing multilingual headers and structural markers that different email clients insert when quoting or forwarding. It handles text-based emails in multiple languages and can return either the full reply text or a cleaned version with headers, signatures, and disclaimers stripped out. The library is designed to solve the common problem of email threading: when users reply to or forward messages, mail clients add quoted text and metadata that clutters the actual reply content. Rather than treating an email as a single fragment, this parser splits it into distinct EmailReply objects, each with separate properties for raw content, cleaned body, and detected structural elements. It's a Python adaptation of GitHub's Ruby email_reply_parser, extended with multilingual support. Use it for: - Extract the latest customer reply from a support ticket thread, discarding quoted history and signatures. - Parse incoming emails in a CRM or helpdesk system to isolate new message content from forwarded chains. - Process multilingual email archives to separate replies for analysis or indexing without quoted text noise. - Build email-to-task workflows that need only the new reply body, not the entire quoted conversation. - Clean email bodies for NLP or sentiment analysis by removing headers and disclaimers automatically. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Splits incoming email messages into separate replies by detecting multilingual headers, signatures, and disclaimers, extracting just the reply text or the full body as needed. Yes, if you need to parse text-based emails and extract reply content reliably. The package has no dependencies, installs easily, and covers multiple languages. The aging maintenance status (last update 256 days ago) is a minor concern for a stable parsing library, but the lack of recent activity means new language support or edge-case fixes may be slow. No known vulnerabilities. Suitable for production use in email processing pipelines where multilingual support is valuable. ## Install pip install mail-parser-reply uv add mail-parser-reply poetry add mail-parser-reply ## Installing mail-parser-reply Before you install: Low friction: pure Python wheel with no runtime dependencies. Maintenance status is aging—last commit was 256 days ago—but the repository is not archived and has modest activity (84 stars). License in practice: MIT license is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions. Quickstart: pip install mail-parser-reply from mail_parser_reply import EmailReplyParser languages = ['en', 'de'] parser = EmailReplyParser(languages=languages) mail_message = parser.read(text='Your email body here') for reply in mail_message.replies: print(reply.body) Verify before relying: - Whether untested language support (Czech, Spanish, Korean, Chinese) is production-ready or requires manual validation. - Exact Python version compatibility—requires_python is unspecified in the package metadata. - How many of the supported languages have been tested in production environments. ## Package facts - License: MIT (permissive) - Python support: unspecified - Install friction: low - Maintenance: aging - Downloads: 379.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags email reply parsing, split email threads, multilingual email parser, extract email replies, email body extraction, parse email headers, remove email signatures, email-parsing, multilingual, text-extraction [View on SkillFed](https://skillfed.io/packages/mail-parser-reply) · [View on PyPI](https://pypi.org/project/mail-parser-reply/)