| name | stats |
| description | This skill should be used when the user asks for "email stats", "inbox stats", "email analytics", "how many unread", "how many emails", "inbox count", "unread count", "email volume", "inbox overview", or wants to see inbox metrics. Shows unread count, top senders, oldest unread, and volume trends. |
| triggers | ["email stats","inbox stats","email analytics","how many unread","how many emails","inbox count","unread count"] |
/himalaya:stats - Inbox Statistics
Get a quick overview of your inbox: unread count, volume, top senders, and oldest unread.
Usage
/himalaya:stats # Current inbox snapshot
/himalaya:stats --weekly # Include week-over-week comparison
/himalaya:stats --folder Sent # Stats for a specific folder
When Invoked
- Call
list_emails with page_size: 50 to get recent emails
- Call
search_emails with not flag Seen to get unread count
- Compute statistics from the results:
- Total unread count
- Today's email count
- Yesterday's email count
- Top senders (by frequency in recent emails)
- Oldest unread email (date and sender)
- If
--weekly flag: call list_emails for previous week and compare
- Display formatted statistics
MCP Tools Used
list_emails โ to get recent envelopes and counts
search_emails โ to filter by unread status and date ranges
Output Format
๐ Inbox Stats
Unread: 47 (12 today, 8 yesterday)
Total recent: 156 emails (last 7 days)
Top senders:
1. boss@company.com โ 6 emails
2. team@company.com โ 4 emails
3. newsletter@dev.to โ 3 emails
4. github@notifications โ 3 emails
5. ci@builds.io โ 2 emails
Oldest unread: 12 days ago
From: hr@company.com
Subject: Benefits enrollment deadline
โ "Read oldest unread" to view it
โ "/himalaya:triage" to classify unread
โ "/himalaya:manage archive" to bulk archive
Weekly Comparison (--weekly)
๐ Inbox Stats (Weekly)
This week Last week Change
Received: 47 52 โ 10%
Unread: 12 8 โ 50%
Sent: 23 19 โ 21%
Top senders this week:
1. boss@company.com โ 6 emails
...
โ Unread trending up โ consider /himalaya:triage