Gmail

SkillCommunication

Lets your agent manage Gmail like sending, reading, and organizing email messages.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Gmail skill

About this capability

Gmail operations through gog.

What this skill tells your AI

The instructions your AI receives, as published by openclaw/gogcli in .agents/skills/gog-gmail/SKILL.md and read by ahel’s review.

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.

Signals

GitHub stars
8k
Forks
690
Last commit
Sep 2026

ahel review

  • S4info
    community integration — published by openclaw, not gmail

Automated review, not a security audit. Ruleset v1.

Advanced
Catalog kind
skill
Gateway key
gog-gmail
Source
github.com/openclaw/gogcli