← 返回 Skills 市场
hohobohan

Inbox Manager

作者 Hobohan · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
42
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install hobohan-inbox-manager
功能描述
Authorize, read, triage, archive, trash, and summarize Gmail inboxes across multiple accounts. Uses Gmail API with OAuth.
使用说明 (SKILL.md)

Inbox Manager

Manage multiple Gmail accounts through a single Google Cloud project. One OAuth client, separate token per account.

Architecture

secrets/inbox/
  client_secret.json            — OAuth 2.0 Desktop client credentials (shared)
  accounts.json                  — {"[email protected]": {"label": ..., "token_file": "token-..."}}
  token-account-at-gmail-dot-com.json  — per-account OAuth token

scripts/inbox/
  inbox-auth-final.py           — one-shot OAuth: opens browser, saves token
  inbox-check.py                — read/filter/triage/delete via Gmail API

Adding a new account

  1. Run python3 scripts/inbox-auth-final.py \x3Cemail> on machine with browser access
  2. Log in to Gmail in the Chromium popup, authorize
  3. Token auto-saves to secrets/inbox/token-\x3Csanitized>.json
  4. accounts.json auto-updated

Sanitization: @-at-, .-dot-

Gmail API scopes used

  • gmail.readonly — read messages
  • gmail.modify — trash, archive, mark read, label

Not used: gmail.send / gmail.compose (no auto-sending unless explicitly added)

Operations

List inbox

GET /gmail/v1/users/me/messages?labelIds=INBOX&maxResults=N
GET /gmail/v1/users/me/messages/{id}?format=metadata&metadataHeaders=From,Subject,Date

Search/filter

Use Gmail query syntax via q parameter:

  • from:traveloka — all from sender
  • is:unread — unread only
  • -from:accounts.google.com — exclude security alerts
  • after:2026/05/01 — date filter

Delete/trash

POST /gmail/v1/users/me/messages/{id}/trash

Batch via new_batch_http_request() for bulk operations (100 per batch).

Cleanup rules (spamforhobo examples)

Sender Action Reason
Traveloka Trash Promo emails
Flokk Trash Promo emails
FossilEra Trash Promo emails
TIDAL monthly reports Trash Old newsletters
BloomThis Trash Feedback/promo
Helpling Keep Actual reminders
Splitwise Keep Balance updates
SRX Keep Property updates
NLB Keep Account notifications

Security notes

  • Tokens contain refresh tokens — treat as sensitive (NEVER commit)
  • Google may flag new accounts accessed via CLI-only; use established accounts
  • OAuth tokens auto-refresh; no manual reauth needed unless revoked
  • 3 security alerts on first auth are normal (Google notifying account owner)
安全使用建议
Review this before installing on important Gmail accounts. Use it only with accounts you intend to manage, keep the OAuth files private, and require the agent to show the exact account, query, message count, and sample messages before archive or trash actions, especially for bulk cleanup or scheduled runs.
能力标签
requires-oauth-tokenrequires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose is to authorize, read, triage, archive, trash, and summarize Gmail across multiple accounts, and the documented Gmail API capabilities match that purpose.
Instruction Scope
The artifact documents message trashing and bulk operations of up to 100 messages per batch, plus cleanup rules for senders, without requiring preview, dry-run, per-account confirmation, or protected-sender checks.
Install Mechanism
The package contains only SKILL.md and CHANGELOG.md, with no executable installer, declared dependencies, or hidden runtime files observed.
Credentials
The requested tools include exec, read, write, edit, web_search, and cron; these are broadly capable but mostly coherent with a local Gmail automation workflow, though cron is not specifically bounded in the instructions.
Persistence & Privilege
The skill clearly discloses local storage of Gmail OAuth client secrets and per-account refresh tokens under secrets/inbox, including auto-refresh behavior, which is sensitive but purpose-aligned.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install hobohan-inbox-manager
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /hobohan-inbox-manager 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release. Multi-account Gmail OAuth, read/triage/archive/trash, cleanup rules, token management.
元数据
Slug hobohan-inbox-manager
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Inbox Manager 是什么?

Authorize, read, triage, archive, trash, and summarize Gmail inboxes across multiple accounts. Uses Gmail API with OAuth. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 42 次。

如何安装 Inbox Manager?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install hobohan-inbox-manager」即可一键安装,无需额外配置。

Inbox Manager 是免费的吗?

是的,Inbox Manager 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Inbox Manager 支持哪些平台?

Inbox Manager 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Inbox Manager?

由 Hobohan(@hohobohan)开发并维护,当前版本 v1.0.0。

💬 留言讨论