I’ve been using this tool with Claude Code and it’s a great addition to the toolbox. Ironically, to authenticate, you need to run this CLI tool on a computer with a GUI. It’s not a good choice for a headless server.
googleworkspace/cli: Google Workspace CLI — one command-line tool for Google Workspace. Includes AI agent skills.
https://github.com/googleworkspace/cli
Google Workspace CLI for Drive, Gmail, Calendar, Sheets, Docs, Admin, and more. Dynamically built from Google Discovery Service.

GitHub - googleworkspace/cli: Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills.
Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills. - googlework...