Uses mail-parser-reply to isolate the newest human reply from text email threads while removing quoted history, signatures, and common disclaimers. This is useful when an agent needs the actionable part of an inbound email before routing, summarizing, or creating follow-up tasks.
Scanned 6/2/2026
Install to Claude Code
npx -y skills add agentskillexchange/skills --skill strip-quoted-email-history-and-signatures-before-summarizing-inbound-replies --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Strip Quoted Email History And Signatures Before Summarizing Inbound Replies?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/agentskillexchange-strip-quoted-email-history-and-signatures-before-s)More formats (shields.io, HTML) on the badges page.
---
name: "Strip quoted email history and signatures before summarizing inbound replies"
slug: "strip-quoted-email-history-and-signatures-before-summarizing-inbound-replies"
description: "Uses mail-parser-reply to isolate the newest human reply from text email threads while removing quoted history, signatures, and common disclaimers. This is useful when an agent needs the actionable part of an inbound email before routing, summarizing, or creating follow-up tasks."
github_stars: 78
verification: "security_reviewed"
source: "https://github.com/alfonsrv/mail-parser-reply"
author: "alfonsrv"
publisher_type: "User"
category: "Calendar, Email & Productivity"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "alfonsrv/mail-parser-reply"
github_stars: 78
---
# Strip quoted email history and signatures before summarizing inbound replies
Uses mail-parser-reply to isolate the newest human reply from text email threads while removing quoted history, signatures, and common disclaimers. This is useful when an agent needs the actionable part of an inbound email before routing, summarizing, or creating follow-up tasks.
## Prerequisites
Python and a mail ingestion source such as IMAP, Gmail API, Graph API, or a helpdesk webhook
## Installation
Use the upstream install or setup path that matches your environment:
- pip install mail-parser-reply
Requirements and caveats from upstream:
- [](https://www.python.org/)
- This is an improved Python implementation of GitHub's Ruby-based [email_reply_parser](https://github.com/github/email_reply_parser/)
- python -m unittest discover test
Basic usage or getting-started notes:
- For example, it can turn the following email:
- It should run much faster now. Can you double-check?
- bash
- Source: https://github.com/alfonsrv/mail-parser-reply
- Extracted from upstream docs: https://raw.githubusercontent.com/alfonsrv/mail-parser-reply/HEAD/README.md
## Documentation
- https://github.com/alfonsrv/mail-parser-reply#readme
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/strip-quoted-email-history-and-signatures-before-summarizing-inbound-replies/)
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!