email-reply-parser
Email reply parser
What it is and what it does
Email Reply Parser is a Python port of GitHub's email reply parsing library. It solves the problem of extracting only the most recent user reply from an email thread, discarding quoted text, forwarded messages, and previous replies that different email clients format in incompatible ways. The library handles the messy reality that email clients wrap and quote replies differently, making naive text extraction unreliable.
You pass a full email message as a string to either EmailReplyParser.read() to get a parsed object or EmailReplyParser.parse_reply() to get just the reply text directly. The library has no runtime dependencies and works across Python 2 and 3, making it lightweight and easy to integrate into transaction email processing, support ticket systems, or any workflow where you need to isolate user responses from notification boilerplate.
Use it for:
- Extract customer replies from support ticket notification emails to feed into a ticketing system
- Parse user responses to transactional emails to capture feedback without boilerplate
- Build email-to-task automation that needs only the new message, not the full thread history
- Process incoming email for systems that should respond only to new content
- Clean email archives by isolating unique replies for deduplication or storage
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Extracts the most recent reply from an email thread, stripping quoted text and previous messages that email clients format differently.
Yes, if you need to extract replies from email threads. The package is stable, has no dependencies, and carries no security vulnerabilities. However, maintenance is dormant—last release was 2020-10-07—so it will not receive updates for modern email formats or Python versions beyond 3.8. Use it for established, low-change email parsing workflows; avoid it if you need active support.
Install
email-reply-parser on PyPI
pip
pip install email-reply-parseruv
uv add email-reply-parserpoetry
poetry add email-reply-parserInstalling email-reply-parser
Before you install
Installs with no dependencies. Maintenance is dormant—last release was 2020-10-07 and last commit was 2024-07-22—but the package is stable with no active development planned.
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 email-reply-parser
from email_reply_parser import EmailReplyParser
email_message = "Your email text here"
reply = EmailReplyParser.parse_reply(email_message)
Verify before relying
- Whether the package handles modern email client formats introduced after the latest release
- Compatibility with Python versions beyond 3.8 (classifiers stop at 3.8)
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | dormant — 2,137 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,014,915/month — #3,361 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: email_reply_parser-0.5.12-py2-none-any.whl; email_reply_parser-0.5.12-py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
mail-parser-replySplits incoming email messages into separate…
permissive · top 15,000 on PyPI
quotequailIdentifies and separates quoted text from…
permissive · top 15,000 on PyPI
django-post_officeDjango Post Office queues and sends emails…
permissive · top 15,000 on PyPI
eml-parserParses EML (email) files and extracts…
agpl · top 15,000 on PyPI
imap-toolsA high-level Python library for IMAP email…
permissive · top 15,000 on PyPI
mail-parserParses raw email messages into structured…
permissive · top 5,000 on PyPI
c7n-mailerA message relay service that subscribes to SQS…
permissive · top 15,000 on PyPI
email-normalizeNormalizes email addresses by detecting the…
permissive · top 15,000 on PyPI
comment-parserExtracts comments from source code files across…
permissive · top 15,000 on PyPI
python-oxmsgParses Outlook MSG files to extract email…
permissive · top 5,000 on PyPI