بنقرة واحدة
email-digest
AI-powered email digest — summarize, categorize, prioritize, and translate emails
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
AI-powered email digest — summarize, categorize, prioritize, and translate emails
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
View and search calendar events from Mac Calendar.app — realtime, zero network calls
Full email client via Mac Mail.app — read, search, send, reply, manage across all accounts
Extract action items from emails and create local tasks
| name | email-digest |
| description | AI-powered email digest — summarize, categorize, prioritize, and translate emails |
| allowed-tools | Bash, Read, Write, Glob, Grep |
Generate an intelligent digest of the user's emails. Fetches emails via mac_mail.py, then uses AI to summarize, categorize, prioritize, and optionally translate.
cd /Users/chensijie/Projects/claude-secretary && source venv/bin/activate
Based on what the user asks, choose the right command:
# Today's unread (default)
python scripts/mac_mail.py list --account Stanford --unread --top 20 --preview
# Specific date
python scripts/mac_mail.py list --account Stanford --date 2026-03-25 --top 30 --preview
# All accounts
python scripts/mac_mail.py inbox --top 10
# Date range
python scripts/mac_mail.py list --account Stanford --after 2026-03-20 --before 2026-03-27 --top 30
Use --preview to get body snippets. For emails that look important, fetch full content:
python scripts/mac_mail.py read MAIL_ID --account ACCOUNT
Assign each email to ONE category:
| Category | Description | Example |
|---|---|---|
| Action Required | Needs your direct response or action | Reply requests, review deadlines, data requests |
| Meeting/Event | Calendar invites, event notifications | Seminars, talks, meet & greets |
| Career/Opportunity | Jobs, grants, fellowships, expos | NSF calls, postdoc positions, career fairs |
| Academic | Papers, reviews, research updates | Journal notifications, review requests |
| Administrative | HR, IT, policy, compliance | Tax reminders, rotation schedules, I-9 |
| Mailing List | Department/group announcements | [radiation_oncology], [som_postdocs] |
| Newsletter/Promo | Publications, marketing, subscriptions | Springer, Nature, LinkedIn, Booking.com |
Assign priority based on:
Use this format:
[N] emails total | [X] action required | [Y] unread
| Sender | Subject | Action Needed | Deadline |
|---|---|---|---|
| ... | ... | ... | ... |
| Date/Time | Event | Location |
|---|---|---|
| ... | ... | ... |
| Sender | Subject | Deadline |
|---|---|---|
| ... | ... | ... |
<collapsed summary — just count and top senders>
After presenting the digest, suggest:
read command)mark read command)If user asks to translate, translate email subjects and previews to Chinese (or specified language) inline.
If user asks for a weekly summary:
--after MONDAY --before SUNDAYIf user says "only important" or "skip noise":
--preview when listing to get body snippets for better categorization