All apps/gogcli

gogcli

gogcli

One command-line client for Gmail, Calendar, Drive, Docs, Sheets, and the wider Google Workspace surface.

Runs as gog|macOS, Linux, Windows|github.com

Command form

ai-draft · 1 task · 7 fields

Global gog options for scripted, read-only use. Subcommands (gmail, calendar, drive ...) are covered by the Gmail search node.

Opens the form; the finished command lands at your prompt, unrun
otty gui gogcli
Google Workspace CLIExample values, fixed in this page — nothing here reaches a terminal
Basic
Account
string
Read-only
--readonly
No prompts
--no-input
JSON output
--json
TSV output
--plain
ParametersOnly these flags are editable in the form
Account
string
--account
Read-only
boolean
--readonly
No prompts
boolean
--no-input
JSON output
boolean
--json
TSV output
boolean
--plain

gog gmail search

Search Gmail
Search GmailExample values, fixed in this page — nothing here reaches a terminal
Basic
Gmail query*
string
Max results
integer
TasksEach one presets the form for one job
Search messages
querymax
ParametersOnly these flags are editable in the form
Gmail query
string · positional 0
Max results
integer
--max
SourcesEvery flag above is checked against these
readme
gog --readonly gmail search 'is:unread newer_than:7d' --max 10 --json `--json` emits structured output and `--plain` emits stable TSV. Prompts, progress, and warnings go to stderr. `--no-input`, `--readonly`, `--account` still selects the account label.
manual2026-10-27

github.com

readme
gog --readonly gmail search 'is:unread newer_than:7d' --max 10 --json gog gmail search 'newer_than:7d' --max 10
manual2026-10-27

github.com

Before it fills your prompt, Otty checks the installed gog against its version. A form that does not match your version is not offered.