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.