Skip to main content

Gmail

Connect Toby to your Gmail account to read, search, and organize email from chat.

CLI name: gmail

Prerequisites

  • A Google Cloud project with the Gmail API enabled
  • OAuth 2.0 Client ID and Client Secret (Desktop or Web application type, depending on your OAuth setup)

Configure

toby config

Go to Integrations → Gmail and enter:

FieldDescription
Client IDOAuth client ID from Google Cloud Console
Client SecretOAuth client secret (stored masked)

Save the configuration.

Connect

toby connect gmail

Toby opens the Google OAuth flow. After you approve access, tokens are stored and Gmail is marked connected.

Verify

toby status integration -i gmail

Disconnect

toby disconnect gmail

Example chat prompts

  • “Summarize my unread email from today and list anything that needs a reply.”
  • “Find threads about the Q2 launch and suggest labels or archive actions.”