OpenClaw LogoOpenClaw AI

Google Workspace Integration

Manage Gmail, Calendar, Drive via gogcli. Automate emails and scheduling.

1

Setup & Installation

Install Tool: `brew install steipete/tap/gogcli`

Google Cloud: Create project, enable Gmail/Calendar/Drive APIs

OAuth: Create desktop app credentials, download JSON

Auth: `gog auth credentials <path>` -> `gog auth add email`

Restart: `moltbot gateway restart`

2

Command Examples

Check my schedule for tomorrow

Email Sarah that I will attend the 2 PM meeting

Search Drive for 'Q4 Report' PDF

Create a 'Project Sync' meeting for tomorrow 3 PM

Important Notes

  • Tokens saved in Keychain default, Linux needs file backend
  • Grant minimal necessary API scopes
  • Some advanced features require Workspace Business

Want to learn more?

Join the OpenClaw community to share advanced scripts and automation workflows.