Skip to content
cccskills
FreePublished on GitHub

gog-gmail

Manage Gmail through gog, a command-line tool, to search messages, prepare drafts, reply, organize labels, and download attachments. Explicit account selection and read-only options help control which mailbox is accessed and changed.

OriginalShow the original description

Gmail operations through gog.

Works withGmail
See how to install

Good for

  • Find recent emails matching specific conditions
  • Prepare drafts and replies
  • Organize messages with labels and archiving
  • Download email attachments

Files included (2)

  • SKILL.md2.1 KB
  • agents/openai.yaml162 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

Gmail

<!-- Generated by scripts/gen-agent-skills.mjs; do not edit. -->

Use gog for Gmail operations. Read ../gog/SKILL.md first for shared auth, output, safety, and live-write rules.

Safe start

gog auth list --check --json --no-input
gog schema gmail --json
gog --readonly --account user@example.com gmail search 'newer_than:7d' --max 10 --json --wrap-untrusted
  • Select the account explicitly with --account.
  • Use --json --wrap-untrusted for agent-readable Google content.
  • Use --readonly when the task must not mutate Google data.
  • Use --no-input in automation and --dry-run before supported writes.
  • Confirm the exact account, object, and mutation before any write or delete.

Commands

CommandPurpose
archiveArchive messages or explicit threads (remove from inbox)
attachmentDownload a single attachment
autoreplyReply once to matching messages
batchBatch operations (permanent delete requires broader Gmail scope; use gmail trash for normal trashing)
draftsDraft operations
forwardForward a message to new recipients
getGet a message (full|metadata|raw)
historyGmail history
importImport an RFC822/EML message into Gmail
labelsLabel operations
mark-readMark messages as read
messagesMessage operations
rawDump raw Gmail API response as JSON (Users.Messages.Get; lossless; for scripting and LLM consumption)
replyReply to a message
reply-allReply to all message participants
searchSearch threads using Gmail query syntax
sendSend an email
settingsSettings and admin
threadThread operations (get, modify)
trackEmail open tracking
trashMove messages to trash
unreadMark messages as unread
urlPrint Gmail web URLs for threads

Run gog gmail <command> --help for flags and gog schema gmail <command> --json for the machine-readable contract. Do not guess command syntax.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

crabbox

FreeSummary

Run OpenClaw tests and reproduce bugs on remote machines through Crabbox. Choose a suitable execution provider, verify realistic user workflows, and report the actual provider, environment ID, logs, and timing.

  • Run broad OpenClaw tests in a remote CI environment
  • Reproduce installation or Docker bugs
  • Verify behavior on macOS, Windows, or WSL2
openclaw/gogcli8.5KUpdated Oct 19, 2026

gog

FreeSummary

Automate Google Workspace tasks through a command-line tool: read email, calendars, files, documents, and spreadsheet data, or make requested updates. Inspect authentication, return structured JSON data, and restrict allowed operations for agent workflows.

  • Retrieve email, calendar, and file information
  • Update Google Docs and Google Sheets
  • Check authentication and diagnose access problems
openclaw/gogcli8.5KUpdated Oct 19, 2026

gog-admin

FreeSummary

Manage Workspace users, groups, and organizational units through gog. The skill guides account selection and command checking, with confirmation of the target and intended change before writes or deletions, plus preview checks for supported writes.

  • Managing Workspace users
  • Managing Workspace groups
  • Managing Workspace organizational units
openclaw/gogcli8.5KUpdated Oct 19, 2026

gog-adsense

FreeSummary

Use gog to inspect Google AdSense accounts, ad units, sites, payments, alerts, and policy issues. Generate AdSense reports and retrieve details about ad clients and channels to review advertising operations.

  • Generating AdSense reports
  • Reviewing account payments
  • Checking alerts and policy issues
openclaw/gogcli8.5KUpdated Oct 19, 2026

gog-analytics

FreeSummary

Use gog to list Google Analytics 4 account summaries and run reports through the Analytics Data API. Explicit account selection and read-only options help agents retrieve information from the intended account.

  • Check available GA4 accounts
  • Retrieve a GA4 report
  • Read Analytics data without making changes
openclaw/gogcli8.5KUpdated Oct 19, 2026

gog-appscript

FreeSummary

Manage Apps Script projects through gog: inspect code and metadata, list versions and deployments, download projects locally, create new projects, and run deployed functions with explicit account selection and checks before changes.

  • Inspect Apps Script project code and metadata
  • Download a project to a local directory
  • Check project versions and deployments
openclaw/gogcli8.5KUpdated Oct 19, 2026

See all skills by openclaw

Report a problem with this skill