gmail

Automate Gmail message, draft, label, and sending workflows via CLI.

2|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/damacus/agent-skills --skill gmail-damacus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gmail
Source: https://github.com/damacus/agent-skills/tree/main/skills/gmail
Command: npx skills add https://github.com/damacus/agent-skills --skill gmail-damacus

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-auth, google-auth-oauthlib, google-api-python-client, keyring, pyyaml, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Automates Gmail management of messages, drafts, and labels to cut manual email handling and speed up routine workflows.

Core Features & Use Cases

  • Unread message listing: quickly find and review new emails across inbox.
  • Send and draft management: compose, send, save as drafts, and manage responses.
  • Label and search orchestration: create, list, and apply labels while supporting advanced search queries.

Quick Start

Authenticate with Google credentials and run a Gmail command to check connectivity.

Frequently Asked Questions about gmail

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

FAQPage Schema
How do I automate listing unread Gmail messages via the command line?

You can automate listing unread Gmail messages via the command line by using this Skill's CLI commands, which interact with the Gmail API to fetch and review new inbox emails automatically.

What's the best way to automate Gmail label management and search orchestration?

Automating Gmail label management and search orchestration is handled by this Skill through API interaction, allowing you to create, list, and apply labels while supporting advanced search queries.

Do I need Google OAuth credentials to send emails and save drafts automatically?

Yes, you need Google OAuth credentials to send emails and save drafts automatically, as this Skill satisfies authentication orchestration and OAuth scope handling to securely interact with the Gmail API.

Can I compose and send new Gmail messages within automated workflows?

You can compose and send new Gmail messages within automated workflows using this Skill's CLI command orchestration, which handles message composition, sending capabilities, and draft saving.

How does error handling work when automating Gmail API interactions?

Error handling for automated Gmail API interactions is built into the Skill's internal design, managing exceptions during authentication, message retrieval, and label operations to ensure workflow stability.

Are there limitations to managing Gmail workflows with CLI scripts and Python?

Managing Gmail workflows with CLI scripts and Python relies on Google API Python Client dependencies and OAuth authentication, meaning operations are constrained by API rate limits and configured OAuth scope permissions.