gruted-inbox-triage
AI-powered email triage via IMAP (himalaya) or Google API. Fetches inbox, classifies messages by urgency, recommends actions, and generates daily markdown digests.
- License 许可
- MIT
- 最近更新
- 2026-06-10
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- gruted-inbox-triage
- metadata
- { "openclaw": { "requires": { "bins": [ "node", "himalaya" ] } } }
- description
- AI-powered email triage via IMAP (himalaya) or Google API. Fetches inbox, classifies messages by urgency, recommends actions, and generates daily markdown digests.
03 SKILL.md 正文
inbox-triage-bot
AI email triage — fetch, classify, and report on your inbox.
Quick start
cd ~/.openclaw/workspace/skills/inbox-triage-bot
npm install
EMAIL_BACKEND=himalaya npm run demo
What it does
- Fetches recent emails via IMAP (himalaya) or Google API
- Classifies by urgency and category (AI or heuristic)
- Recommends actions per message
- Pulls upcoming calendar events
- Generates markdown daily digest reports
Backends
himalaya (recommended — no OAuth)
Requires himalaya CLI configured with a Gmail App Password:
himalaya envelope list -f INBOX -s 5 # test
EMAIL_BACKEND=himalaya npm run demo
Google API (alternative)
Requires OAuth credentials:
cp .env.example .env # edit with OAuth creds
npm run google:oauth:init
npm run demo
Commands
npm run demo # full triage report (markdown)
npm run email:fetch # raw envelopes (JSON)
npm run email:triage # classified envelopes (JSON)
npm run calendar:upcoming # upcoming events (JSON)
Environment variables
| Variable | Default | Description |
|---|---|---|
EMAIL_BACKEND |
auto | himalaya or google |
HIMALAYA_ACCOUNT |
gru_gmail |
himalaya account name |
OPENAI_API_KEY |
— | Optional AI classification |
Cron
# Daily at 7 AM
0 7 * * * cd /path/to/inbox-triage-bot && EMAIL_BACKEND=himalaya npm run demo >> ~/inbox-triage.md 2>&1
Links
- GitHub: https://github.com/gruted/inbox-triage-bot
- Landing page: https://gruted.github.io/inbox-triage-bot/
04 同仓库更多 Skills
youtube-content
YouTube transcripts to summaries, threads, blogs.
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
touchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
test-driven-development
TDD: enforce RED-GREEN-REFACTOR, tests before code.
teams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.