extract-email-actions-to-reminders
Skill: extract-email-actions-to-reminders
Overview
This skill bridges email and task management by analyzing your recent emails, identifying action items based on keywords and context, and automatically creating organized reminders with priority levels and detailed notes.
When to Use
Use this skill when the user asks to:
- Convert emails into a to-do list
- Create reminders from recent emails
- Extract action items from inbox
- Organize email tasks by priority
- Build a task list from email messages
- Scan emails for deadlines and action items
Input Parameters
| Parameter | Required | Description | Example |
|---|---|---|---|
email_count |
No | Number of most recent emails to analyze | 100 |
list_name |
No | Name of the Reminders list to create or use | Email To-Dos |
Procedure
- Scan the user's Mail library to locate the 100 most recent .emlx files, sorted by modification date
- Parse each email file to extract subject, sender, date, and body content
- Apply action-detection patterns to identify emails containing action keywords (pay, review, urgent, invoice, deadline, approval, etc.)
- Categorize identified action items by priority (high, medium, low) based on urgency indicators
- Create or use existing "Email To-Dos" list in the Reminders app via AppleScript
- Add each reminder with title, detailed notes (including sender and date), and priority level
- Generate a summary markdown document on the Desktop listing all created reminders by priority
- Open the Reminders app to display the newly created list
Output
A new or updated Reminders list containing prioritized reminder items with detailed notes, plus a markdown summary document saved to the Desktop listing all extracted action items organized by priority level.
Bundled Scripts
| Script | Type | Description |
|---|---|---|
scripts/create_reminders.sh |
SH | Auto-captured from task execution |
Credentials in scripts use environment variables. Set them via get_keys before running.
Reference Commands
Commands for executing this skill (adapt to actual inputs):
find {{MAIL_DIR}} -name "*.emlx" -type f | head -{{EMAIL_COUNT}}
python3 {{PARSE_EMAILS_SCRIPT}}
osascript {{CREATE_REMINDERS_SCRIPT}}
open -a Reminders
Replace {{PLACEHOLDER}} values with actual credentials from the key store.
Example
Example requests that trigger this skill:
go through my recent emails and create a to-do list in reminders
Notes
- Email parsing uses .emlx format from macOS Mail library; may not work with other email clients
- Action detection uses keyword patterns; some emails may be missed or incorrectly flagged
- Reminders are created with sender and date information in notes for easy reference back to original email
- High-priority items are identified by keywords like 'urgent', 'asap', 'action required', and 'due today'
- The script creates a summary markdown file on Desktop for offline reference
Keywords
email, action items, to-do, reminders, task extraction, inbox, priority, deadline, organize
More from dalehurley/phpbot
homebrew
Install, manage, and search for software packages on macOS using Homebrew. Use this skill when the user asks to install software, apps, CLI tools, developer utilities, programming languages, databases, or any package on a Mac. Supports formulae (CLI tools) and casks (GUI apps). Can also search, update, upgrade, uninstall, and diagnose Homebrew issues.
10create-text-file
Create and write text content to a file in a specified directory. Use this skill when the user asks to create a file, write content to a file, save text, generate a document, or write a poem, story, script, or any text-based content to disk. Supports any text format and custom file paths.
6web-scraper
Fetch any URL and extract clean readable content as text or markdown. Use this skill when the user asks to scrape a webpage, extract text from a URL, fetch website content, read an article from a link, or download webpage content.
6frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
6text-to-speech
Produce actual audio output from the computer's speakers using text-to-speech. Use this skill when the user asks to speak, say something out loud, talk, vocalize, read aloud, announce, play audio from text, or produce voice output. Can use OS-native commands (macOS say, Linux espeak) or high-quality API-based TTS (OpenAI). The key point: this MUST produce real sound, not just text.
6file-compress
Create and extract ZIP and tar.gz archives. Use this skill when the user asks to zip files, unzip an archive, compress a folder, extract a tar.gz, create an archive, or list archive contents.
5