email-edit-extractor

Parse email bodies and attachments to apply document edits with redlines.

Updated Jan 13, 2026
One-click install
npx skills add https://github.com/aech-ai/aech-cli-legal --skill email-edit-extractor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: email-edit-extractor
Source: https://github.com/aech-ai/aech-cli-legal/tree/main/aech_cli_legal/skills/email-edit-extractor
Command: npx skills add https://github.com/aech-ai/aech-cli-legal --skill email-edit-extractor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Extracts edits from client and team emails and applies them to documents, enabling seamless update workflows when communication contains markup, changes, or inline edits.

Core Features & Use Cases

  • Parse email content to identify edit instructions and associate them with document sections.
  • Extract markup or Track Changes from attachments and prepare edits for application.
  • Apply edits to a parallel version of the document and generate a redline for review.
  • Generate a concise summary of proposed changes for approval.

Quick Start

Use the email-edit-extractor to parse an email file (email.eml) and produce edits.json: python scripts/parse_email_edits.py email.eml --output edits.json Then apply edits to the current document: python scripts/apply_edits.py current.docx --edits edits.json --output modified.docx Then review changes with the redline or summary: python scripts/generate_summary.py edits.json --format markdown

Frequently Asked Questions about email-edit-extractor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply edits from an email directly to a Word document?

To apply email edits to a document, you parse the email file to extract edit instructions and map them to document sections. The tool then applies these edits to a parallel working copy and generates an auditable redline for review.

Can I extract Track Changes from email attachments and apply them to my document?

Yes, you can extract markup or Track Changes from email attachments. The process prepares these edits and applies them to a parallel version of your document, generating a redline to ensure all attachment markup is accurately captured.

What's the best way to automate applying client email edits to legal documents?

Automating client email edits involves parsing email bodies and attachments to map changes to specific document sections. This workflow generates a modified document with a concise summary of proposed changes, streamlining legal review and approval processes.

Does this workflow generate a summary of the proposed document changes for approval?

Yes, the workflow generates a concise summary of proposed changes for approval. After applying the extracted email edits to your document, a script outputs a markdown summary detailing the modifications made to the parallel working copy.

Do I need Python to parse email files and produce a redline of the edits?

Yes, you need Python to execute the provided scripts for parsing email files and producing redlines. The workflow relies on specific Python scripts to parse email content, apply edits to a working copy, and generate the final redline document.