Skip to content
Back to skills

Strip Quoted Email History And Signatures Before Summarizing Inbound Replies

ASecurity

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.

  • 36 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 2, 2026
ai-agentspythongorubybashgitapisecuritydocumentation

Works with

  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 2, 2026

npx -y skills add agentskillexchange/skills --skill strip-quoted-email-history-and-signatures-before-summarizing-inbound-replies --agent claude-code

Installs 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 with every re-scan.

Security grade badge for Strip Quoted Email History And Signatures Before Summarizing Inbound Replies
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-strip-quoted-email-history-and-signatures-before-s/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-strip-quoted-email-history-and-signatures-before-s)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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:
- [![Python](https://img.shields.io/badge/Made%20with-Python%203.x-blue.svg?style=flat-square&logo=Python&logoColor=white)](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/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.