data-wise/himalaya-mcp

stats

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.

ソースを見る

使い方

  1. インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
  2. 必要なツール、認証情報、対応環境を原文で確認します。
  3. 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/data-wise/himalaya-mcp --skill stats

開始前の確認

  • 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
  • スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
リポジトリの原文

見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。

/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

  1. Call list_emails with page_size: 50 to get recent emails
  2. Call search_emails with not flag Seen to get unread count
  3. 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)
  1. If --weekly flag: call list_emails for previous week and compare
  2. 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

タスクに関連する項目