Skip to content
Back to skills

Gruted Inbox Triage

ASecurity

AI-powered email triage via IMAP (himalaya) or Google API. Fetches inbox, classifies messages by urgency, recommends actions, and generates daily markdown digests.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
toolsgobashnodegitapibackend

Works with

  • cli
  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 9, 2026

npx -y skills add Lord1Egypt/awesome-skill-forge --skill gruted-inbox-triage --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gruted Inbox Triage?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gruted Inbox Triage
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lord1egypt-gruted-inbox-triage/badge)](https://www.skillsdirectory.com/skills/lord1egypt-gruted-inbox-triage)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gruted-inbox-triage
description: AI-powered email triage via IMAP (himalaya) or Google API. Fetches inbox, classifies messages by urgency, recommends actions, and generates daily markdown digests.
metadata:
  openclaw:
    requires:
      bins: [node, himalaya]
---

# inbox-triage-bot

AI email triage — fetch, classify, and report on your inbox.

## Quick start

```bash
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:

```bash
himalaya envelope list -f INBOX -s 5  # test
EMAIL_BACKEND=himalaya npm run demo
```

### Google API (alternative)

Requires OAuth credentials:

```bash
cp .env.example .env  # edit with OAuth creds
npm run google:oauth:init
npm run demo
```

## Commands

```bash
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

```bash
# 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/

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.