---
name: "email-thread-reducer"
description: "Reduce an email thread to a chronological decision and action record. Use when the user needs: Get a deduplicated timeline, current commitments and unresolved questions."
metadata: {"version": "2026-10-17.1", "category": "data-parsing", "publisher": "AIDiveForge"}
---

# Email Thread Reducer

Get a deduplicated timeline, current commitments and unresolved questions.

## Requirements

Provide the thread with dates, participants and quoted-message boundaries.

## Workflow

1. Separate original messages from quoted copies and sort by timestamp with timezone where known.
2. Deduplicate repeated quoted content without dropping distinct replies.
3. Track when a proposal is accepted, changed or superseded; preserve the latest supported decision.
4. Extract actions with named owners and stated deadlines, keeping ambiguous commitments unresolved.
5. Return a short timeline and current-state recap with message locators.

## Worked example

Read `examples/input.txt` and `examples/expected.txt` before adapting the workflow.

## Acceptance checks

Do not report Tuesday as the current meeting day or invent a due date for the invitation.

## Limits

Relative dates need the thread’s calendar context; missing attachments and off-thread decisions remain outside scope.

Worked example included. Model-specific performance and vendor compatibility have not been benchmarked.
