gmail-inbox-zero-triageGmail Inbox Zero Triage - Interactive inbox management using gog CLI with Telegram buttons. Use when the user wants to achieve inbox zero, triage their Gmail inbox interactively, process ALL inbox messages (read and unread) with AI summaries and batch actions (archive, filter, unsubscribe). OAuth-based, no passwords needed.
Install via ClawdBot CLI:
clawdbot install poisondminds/gmail-inbox-zero-triageAchieve inbox zero with AI-powered email triage! Process ALL Gmail inbox messages interactively with summaries and batch actions using OAuth (no passwords needed).
ā OAuth-based - No passwords, secure authentication via gog
ā AI summaries - Quick 1-line summary of each email
ā Batch processing - Queue actions instantly, execute at the end
ā Telegram buttons - Archive, Filter, Unsubscribe, View
ā Inbox zero focus - Process ALL inbox messages (read + unread)
ā Fast workflow - No waiting between actions
Requires: gog CLI with authenticated Gmail account.
Check if already set up:
gog auth list
If not set up, user needs to run gog auth add (see gog skill for OAuth setup).
Set environment variable for keyring password:
export GOG_KEYRING_PASSWORD="your-password"
Each email displays with 4 action buttons:
[š„ Archive] [š Filter]
[š« Unsub] [š§ View]
At the end:
[ā
Done - Execute All Actions]
Actions are queued using short callback codes to avoid Telegram's 64-char limit:
q:a:0 = queue archive, message index 0q:f:0 = queue filter, message index 0 q:u:0 = queue unsubscribe, message index 0q:v:0 = view full email, message index 0 (executes immediately)q:done = execute all queued actionsQueue is managed via scripts/queue_manager.py and stored in action_queue.json.
Main processor for Gmail operations via gog CLI.
List inbox messages:
python3 scripts/gog_processor.py list <account> [limit]
Archive a message:
python3 scripts/gog_processor.py archive <account> <msg_id>
Find unsubscribe link:
python3 scripts/gog_processor.py unsubscribe <account> <msg_id>
Create filter:
python3 scripts/gog_processor.py filter <account> "<from_header>"
Get message body:
python3 scripts/gog_processor.py body <account> <msg_id>
Manages action queue for batch execution.
Add action to queue:
python3 scripts/queue_manager.py add <action> <msg_id> [from_header]
Get queue:
python3 scripts/queue_manager.py get
Clear queue:
python3 scripts/queue_manager.py clear
Executes all queued actions in batch.
python3 scripts/execute_queue.py <account>
Returns JSON with results of all executed actions.
current_batch.jsonqueue_manager.pyexecute_queue.pyGenerate concise 1-line summaries:
Keep it simple, factual, and action-oriented.
Common issues:
gog auth add gog auth list for available accountsGOG_KEYRING_PASSWORD environment variableNo additional pip packages needed.
Generated Mar 1, 2026
Freelancers often receive a mix of client communications, invoices, and newsletters. This skill helps them quickly triage emails, archive completed project threads, and filter out promotional content to maintain a clean inbox for urgent client requests.
Small business owners handle emails from customers, suppliers, and marketing sources. Using this skill, they can batch-process emails, create filters for recurring supplier updates, and unsubscribe from irrelevant newsletters to focus on critical business operations.
Remote teams use email for project updates and coordination. This skill enables team members to summarize and archive old discussion threads, filter automated notifications, and quickly view important emails to keep communication channels efficient.
Individuals receive numerous financial emails like bank statements, bills, and investment alerts. The skill aids in summarizing receipts, archiving past statements, and unsubscribing from spam to organize financial records and reduce clutter.
Researchers get emails from journals, conferences, and collaborators. This skill helps them triage by summarizing key updates, filtering routine notifications, and archiving old correspondence to prioritize active research tasks.
Offer a free basic version with limited email batches or summaries, and a paid tier for unlimited processing, advanced AI summaries, and priority support. Revenue comes from monthly subscriptions targeting professionals and small teams.
License the skill to businesses for internal use, with customization options for specific email workflows and integration into existing tools. Revenue is generated through annual contracts and per-user fees for large organizations.
Partner with productivity tools or email service providers to bundle the skill, earning commissions or revenue shares. Focus on seamless integration with platforms like Slack or CRM systems to enhance user adoption.
š¬ Integration Tip
Ensure the gog CLI is properly authenticated and the GOG_KEYRING_PASSWORD environment variable is set to avoid keyring errors during execution.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
Read and send email via IMAP/SMTP. Check for new/unread messages, fetch content, search mailboxes, mark as read/unread, and send emails with attachments. Works with any IMAP/SMTP server including Gmail, Outlook, 163.com, vip.163.com, 126.com, vip.126.com, 188.com, and vip.188.com.
Gmail API integration with managed OAuth. Read, send, and manage emails, threads, labels, and drafts. Use this skill when users want to interact with Gmail. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
Automatically logs into email accounts (Gmail, Outlook, QQ Mail, etc.) and generates daily email summaries. Use when the user wants to get a summary of their emails, check important messages, or create daily email digests.
Fetch content from Feishu (Lark) Wiki, Docs, Sheets, and Bitable. Automatically resolves Wiki URLs to real entities and converts content to Markdown.
Manage Feishu (Lark) calendars by listing, searching, checking schedules, syncing events, and marking tasks with automated date extraction.