gmail-skill

Automate Gmail sending, reading, searching, labeling, and drafting via a Node.js CLI.

Updated Jan 15, 2026
One-click install
npx skills add https://github.com/KaiserWhoLearns/skillsbench --skill gmail-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gmail-skill
Source: https://github.com/KaiserWhoLearns/skillsbench/tree/main/tasks/scheduling-email-assistant/environment/skills/gmail-skill
Command: npx skills add https://github.com/KaiserWhoLearns/skillsbench --skill gmail-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires googleapis, minimist, open, mailcomposer, and includes scripts (resource) components.

What problem does it solve?

Managing Gmail for multiple accounts and teams often involves repetitive, error-prone tasks. This Skill provides a token-efficient, scriptable CLI to send, read, search, label, and draft emails, simplifying daily workflows.

Core Features & Use Cases

  • Send Email: Dispatch messages with HTML support, CC/BCC, and optional Reply-To headers.
  • Read & Search: Retrieve complete message details and run complex Gmail searches across accounts.
  • Workflow Automation: Apply labels, manage drafts, forward messages, and perform batch tasks in multi-account setups.

Quick Start

Install dependencies and run a sample send using node gmail-send.js to verify setup.

Frequently Asked Questions about gmail-skill

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

FAQPage Schema
How do I automate sending Gmail emails from a Node.js CLI?

Automating Gmail emails from a Node.js CLI involves running scripts that dispatch messages with HTML support, CC/BCC, and Reply-To headers while enforcing token-based authentication to ensure safe delivery.

Can I manage multiple Gmail accounts in a single automated workflow?

Yes, you can manage multiple Gmail accounts in a single automated workflow using per-account authentication to safely operate across personal and work mail for batch or single actions.

How do I search and label emails across different Gmail accounts?

To search and label emails across different Gmail accounts, the CLI applies per-account authentication to run complex Gmail searches, retrieve complete message details, and apply labels in batch workflows.

Does this Gmail automation CLI handle errors and invalid arguments?

Yes, the Gmail automation CLI handles errors safely and validates required arguments to prevent misconfigurations during batch tasks like drafting, forwarding, and sending emails.

What's the best way to script batch email drafting and forwarding in Gmail?

The best way to script batch email drafting and forwarding in Gmail is using a lightweight Node.js CLI that logs actions, applies labels, manages drafts, and forwards messages across multi-account setups.