gog-gmail

Automate Gmail workflows by orchestrating the gog CLI for search, read, send, and organize operations.

3|1|Updated Jun 20, 2016
One-click install
npx skills add https://github.com/paulchiu/dotfiles --skill gog-gmail
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gog-gmail
Source: https://github.com/paulchiu/dotfiles/tree/main/.config/opencode/skills/gog-gmail
Command: npx skills add https://github.com/paulchiu/dotfiles --skill gog-gmail

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates Gmail workflow management by orchestrating the gog CLI to search, read, send, and organize messages without interactive prompts.

Core Features & Use Cases

  • Search threads and messages using Gmail query syntax to locate relevant conversations.
  • Read a message or an entire thread in various formats, including full content and metadata.
  • Send emails with attachments, drafts, and replies, with non-interactive operation suitable for scripting.
  • Manage drafts and labels, apply batch modifications, and access web URLs for threads.
  • Integrate into automation pipelines to triage inboxes, generate summaries, and trigger follow-ups.

Quick Start

Ask the gog CLI to fetch unread Gmail threads and return a concise summary suitable for scripting.

Frequently Asked Questions about gog-gmail

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

FAQPage Schema
How do I automate sending Gmail emails with attachments from a script?

You can automate sending Gmail emails with attachments by orchestrating the gog CLI to send messages and drafts non-interactively. It enforces script-friendly operation using --no-input flags, enabling programmatic email outreach without interactive prompts.

Can I search and read Gmail threads programmatically using command line tools?

Yes, you can search and read Gmail threads programmatically by executing the gog CLI to query messages using Gmail syntax. It returns thread content and metadata in JSON format options, allowing seamless integration into automated inbox triage pipelines.

What is the best way to manage Gmail labels and drafts without manual intervention?

Managing Gmail labels and drafts without manual intervention is achieved by orchestrating the gog CLI to apply batch modifications and organize messages. This non-interactive approach supports label-based workflows and draft management suitable for automated pipelines.

Does Gmail automation with the gog CLI require any specific environment setup?

Gmail automation with the gog CLI requires gog CLI v0.9.0 or higher pre-authenticated in your environment. The Skill enforces non-interactive operation with --no-input and JSON format options, requiring no additional dependencies or interactive authentication during execution.

How do I generate summaries of unread Gmail messages for automation pipelines?

To generate summaries of unread Gmail messages, use the gog CLI to fetch relevant threads and return concise outputs. This integrates directly into automation pipelines to triage inboxes, generate summaries, and trigger follow-ups without manual email review.

Are there limitations when using non-interactive Gmail workflows for outreach campaigns?

Non-interactive Gmail workflows for outreach campaigns require strict adherence to --no-input operation and JSON parsing. Limitations include dependency on pre-authenticated gog CLI v0.9.0+ access and the necessity of programmatic format options for reliable batch email processing.