email-extractor

Extract content and attachments from .eml files into structured markdown.

1|Updated Dec 14, 2025
One-click install
npx skills add https://github.com/smorand/email-extractor --skill email-extractor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: email-extractor
Source: https://github.com/smorand/email-extractor/tree/main
Command: npx skills add https://github.com/smorand/email-extractor --skill email-extractor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the tedious process of manually sifting through .eml files, extracting valuable information, and organizing attachments, making email content readily accessible for analysis.

Core Features & Use Cases

  • Email Content Extraction: Parses .eml files to extract metadata, body content, and attachments.
  • Structured Markdown Output: Converts email content into a clean, AI-friendly markdown format.
  • Attachment Handling: Saves all attachments to a dedicated directory, preserving file integrity.
  • Use Case: When dealing with a large archive of .eml files, this Skill can quickly process them, generating markdown summaries and extracting all associated documents for easier review and integration into knowledge bases.

Quick Start

Use the email-extractor skill to extract the content and attachments from the email file located at /Users/user/Downloads/meeting_notes.eml.

Frequently Asked Questions about email-extractor

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

FAQPage Schema
How do I extract content and attachments from .eml files into markdown?

To extract content and attachments from .eml files into markdown, use this Skill to parse email metadata, body content, and attachments, organizing the output into subject-based directories with clean markdown files and preserved attachment documents.

What is the best way to parse .eml email threads for AI processing?

Parsing .eml email threads for AI processing is best handled by converting the email content into a structured markdown format. This Skill automatically handles email thread parsing and outputs clean, AI-friendly markdown text.

Can I save email attachments from .eml files to a dedicated directory?

Yes, you can save email attachments from .eml files to a dedicated directory. This Skill extracts all attachments and saves them alongside the generated markdown content in subject-based directories, preserving original file integrity.

Does the email extractor require any external dependencies to parse .eml files?

No, the email extractor requires no external dependencies to parse .eml files. It operates independently using internal scripts to extract metadata, body content, and attachments without needing additional libraries or tools.

How are extracted email files organized for large archives of .eml files?

Extracted email files from large .eml archives are organized into subject-based directories. This Skill processes each .eml file, generating markdown summaries and extracting associated documents into dedicated folders for easier review.