Mail Command Extractor Skill

Extract actionable commands from emails using sender and keyword detection rules.

Updated Feb 12, 2026
One-click install
npx skills add https://github.com/baddif/mcp-server-mail-command-extractor --skill mail-command-extractor-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Mail Command Extractor Skill
Source: https://github.com/baddif/mcp-server-mail-command-extractor/tree/main
Command: npx skills add https://github.com/baddif/mcp-server-mail-command-extractor --skill mail-command-extractor-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automatically scans a batch of emails and converts matched patterns (sender, subject, and optionally content) into actionable command objects, so you don’t have to manually interpret inbox messages.

Core Features & Use Cases

  • Pattern-based command extraction: Matches emails against detection rules using sender exact address matching and keyword containment for subject and content.
  • Rule-driven action generation: Produces structured command outputs (command name + parameters) based on the matched rule’s action.
  • Priority sorting and duplicate merging: Orders commands by priority (lower is higher) and merges identical commands when enabled to avoid repeated work.
  • MCP-ready operation: Supports being called as an MCP tool with input/output schemas and also exposes MCP resources for latest results and config templates.

Quick Start

Ask your MCP client to call the mail_command_extractor tool with your emails (matched_emails array) and detection_rules, and set merge_duplicates to true to receive extracted_commands in priority order.

Frequently Asked Questions about Mail Command Extractor Skill

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

FAQPage Schema
How do I automatically extract actionable commands from a batch of emails?

To extract actionable commands from emails, you scan the inbox batch against detection rules matching sender addresses and keywords in subjects and contents to generate structured command objects.

What is rule-based email triage for automation workflows?

Rule-based email triage converts inbox messages into automation tasks by matching sender addresses and keyword containment against configured detection rules to trigger actions like report generation or scheduling.

Can I merge duplicate commands when processing multiple email alerts?

Yes, you can merge duplicate commands during email processing by enabling the merge_duplicates option to collapse identical commands and avoid repeated work in your batch triage workflow.

Does the mail command extractor support MCP integration?

Yes, the mail command extractor supports MCP integration by operating as an MCP tool with input and output schemas and exposing MCP resources for latest extraction results and config templates.

How are extracted commands sorted by priority?

Extracted commands are sorted by priority in ascending order where lower numbers indicate higher priority, and the structured output includes parameters and matching details for each command.