gmail-triage

Classify, label, and summarize unread Gmail messages via the gog CLI.

4|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/pcc-labs/openclaw-in-a-box --skill gmail-triage-pcc-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gmail-triage
Source: https://github.com/pcc-labs/openclaw-in-a-box/tree/main/skills/gmail-triage
Command: npx skills add https://github.com/pcc-labs/openclaw-in-a-box --skill gmail-triage-pcc-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the organization of a Gmail inbox by classifying unread messages into relevant categories, reducing manual sorting time.

Core Features & Use Cases

  • Inbox Management: Connects to Gmail via the gog CLI to fetch unread messages.
  • Email Classification: Identifies newsletters, receipts, action-required, and informational emails.
  • Action Automation: Archives, labels, or stars messages based on their classification, streamlining inbox cleanup.
  • Use Case: A user receives hundreds of daily promotional and transactional emails and wants to automatically sort and summarize them for review.

Quick Start

Use the gmail-triage skill to automatically categorize unread emails and generate a summary report in the specified output file.

Frequently Asked Questions about gmail-triage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically categorize and label unread Gmail messages?

To automatically categorize and label unread Gmail messages, this skill connects to the Gmail API via the `gog` CLI tool to fetch unread messages. It then classifies them into newsletters, receipts, and action items, applying labels or archiving them to provide an organized inbox.

Does Gmail triage modify or delete my existing emails during inbox organization?

Gmail triage does not modify or delete your existing emails during inbox organization. The skill ensures read-only operations to maintain email integrity, safely classifying and labeling unread messages while producing an audit trail of its actions.

Can I automatically sort promotional and transactional emails in Gmail?

You can automatically sort promotional and transactional emails in Gmail using this skill. It identifies newsletters, receipts, action-required, and informational emails, archiving or labeling them based on classification to streamline inbox cleanup for users receiving high daily volumes.

What is the best way to generate a summary report of unread Gmail messages?

The best way to generate a summary report of unread Gmail messages is to use this skill to automatically categorize unread emails. It processes unread messages through the `gog` CLI and outputs a structured summary report in a specified output file.

Do I need the gog CLI to automate Gmail inbox classification?

You need the `gog` CLI to automate Gmail inbox classification because the skill works within Gmail's API using this specific command-line tool. It fetches unread messages and identifies action items, newsletters, and receipts with minimal user intervention.

Why does Gmail triage only process unread messages?

Gmail triage only processes unread messages to reduce manual sorting time for new incoming items. By targeting unread messages, the skill efficiently classifies and labels newsletters, receipts, and action-required emails, streamlining inbox cleanup without altering previously handled emails.