email-manager

Scan Gmail INBOX and move emails to destination labels.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/smorand/claude-config --skill email-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: email-manager
Source: https://github.com/smorand/claude-config/tree/main/skills/email-manager
Command: npx skills add https://github.com/smorand/claude-config --skill email-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates Gmail management—scanning, sorting, archiving, and labeling—focused on inbox triage with French localization.

Core Features & Use Cases

  • Inbox triage automation: Scan, classify, and move emails to appropriate labels.
  • Bulk actions: Mark as read/unread, archive, delete, and label management.
  • Attachment handling & drafts: Manage attachments and drafts via script-driven workflows.

Quick Start

Use the CLI to scan the INBOX and apply rules to sort messages into labels.

Frequently Asked Questions about email-manager

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

FAQPage Schema
How do I automate Gmail inbox triage with labeling rules?

Gmail inbox triage automation scans your INBOX and moves emails to destination labels based on predefined rules. This Skill applies triage patterns to sort messages into personal labels (personal/ecole, personal/voyage, personal/commandes, personal/Maison) and professional labels (pro/L'Oréal), reducing manual sorting work.

Can I use Gmail API to automatically sort and archive emails?

Yes. This Skill uses Gmail API via OAuth2 to search, archive, label, and read messages. It runs as a CLI binary that authenticates with stored credentials, performs bulk actions on matched emails, and applies classification rules without manual intervention.

How do I set up Gmail automation for email management?

Install the CLI binary under ~/.claude/skills/email-manager/scripts and configure OAuth2 credentials at ~/.credentials/google_credentials.json with token storage at ~/.credentials/google_token.json. Then scan your INBOX and apply triage rules from the built-in patterns and rule definitions.

Does Gmail automation handle bulk actions like marking as read and deleting?

Yes. The Skill supports bulk operations including mark as read/unread, archive, delete, and label management across matched email sets. It also handles attachment management and draft operations via script-driven workflows.

What are the limitations of automating Gmail triage rules?

By default, triage scans only the INBOX unless explicitly instructed otherwise. Rules are predefined in configuration files and apply French localization. The Skill requires OAuth2 setup and valid Gmail API credentials to function.

How does Gmail email classification differ from manual sorting?

Automated classification applies consistent detection patterns and triage rules across all emails instantly, whereas manual sorting is per-email and time-intensive. This Skill scales rule application to entire label batches while maintaining configurable, reusable sorting logic.