skillfed

email-reply-parser

Email reply parser

email-reply-parser v0.5.12 2.0M downloads/30d#3,361 on PyPI530
Permissive license MIT DORMANT released

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-parser

uv

uv add email-reply-parser

poetry

poetry add email-reply-parser

Installing 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

Programming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Topic :: Software Development

Tags

email reply extractionparse email threadget last email replyemail message parsingstrip email quotesemail conversation parsingextract reply from thread
email-parsingtext-extractionlow-dependency

More Software Development packages