# mailgun/talon

Repository: https://github.com/mailgun/talon
Canonical: https://ross.abutalabs.com/products/mailgun-talon
Language: Python
License: Apache-2.0
License Family: permissive
Last push: 2023-10-18T14:47:20+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4423, "days_push": 1050, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1342, forks 305 (observed 2026-08-28T04:04:26.282709+00:00)

## What it is
Talon is a Python library from Mailgun that extracts reply quotations and signatures from email messages, both plain text and HTML. It combines rule-based brute-force parsing with SVM-based machine learning classifiers trained on personal and ENRON email datasets.

## Use cases
- extract the reply text from an email thread
- strip quoted original messages from replies
- detect and remove email signatures
- parse email bodies for a helpdesk or CRM app
- clean up forwarded message chains in plain text and HTML

## When to choose
- you need to separate replies, quotes, and signatures in email processing pipelines
- you want both simple heuristic and ML-based extraction options
- you're building email automation in Python

## When to avoid
- you need actively maintained software with recent fixes
- you need full MIME/email parsing rather than body cleanup
- your stack isn't Python

## Facets
- artifact type: library
- maturity: maintenance
- function: nlp, parser, machine-learning
- domain: email, developer-tools
- platform: python, cross-platform
- tags: email-parsing, quotation-extraction, signature-detection, reply-extraction, svm-classifier, natural-language-processing

## Member repositories
- mailgun/talon (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:26.282709+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:43:41.754609+00:00, confidence not recorded.
  - readme: https://github.com/mailgun/talon (fetched 2026-08-28T04:04:26.282709+00:00, sha ca4db0d018c7)
  - registry_pypi: https://pypi.org/pypi/talon/json (fetched 2026-08-29T12:02:27.066915+00:00, sha 1693f86d752e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
