LaunchKit · 2026
Back to Skills

gmail-label-manager

This skill automates the organization of unread Gmail messages by applying labels, removing unnecessary labels.

0
581 downloads
by @coenenp

Setup & Installation

openclaw skills install @coenenp/gmail-label-manager

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install gmail-label-manager

Version History

v1.0.3Feb 13, 2026 - Version note by skill developer:

- No visible changes to documentation or feature set in this version. - Internal update made to script.sh; user-facing behavior and instructions remain unchanged.

What This Skill Does

Automates Gmail inbox triage by reading label patterns from archived emails and applying them to new unread messages from the same senders. It adds matching labels, strips irrelevant ones including category labels, and archives each email. No static rules or manual configuration needed.

Learning from your existing archive means labels stay consistent with how you already organize email, without writing or maintaining filter rules in Gmail settings.

When to use it

  • Automatically labeling newsletters from recurring senders
  • Clearing CATEGORY_PROMOTIONS labels before archiving
  • Processing a backlog of unread emails in bulk
  • Keeping inbox clean without manual label rules
  • Organizing emails from known senders the same way every time

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: label and archive my first unread email

AGENT
  1. 1Fetch the first unread email from Gmail inbox
  2. 2Search archived emails from the same sender to identify labels previously applied
  3. 3Apply those labels to the unread email
  4. 4Remove irrelevant labels including CATEGORY and UNREAD labels
  5. 5Remove the INBOX label to archive, then verify all label changes are correct
OUTPUT

Email is labeled, stripped of noise labels, and moved out of inbox

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

gog CLI installed and authenticated with Gmail API access