← Back | TextMate AI

Connecting Gmail, Drive, and Calendar to TextMate AI

2026-07-02 · Thamodharan Ganesan

TextMate AI can connect to your Gmail, Google Drive, and Google Calendar so the assistant can act on requests like "summarize my unread emails" or "what's on my calendar tomorrow" — without you leaving the chat.

What it can do

Once connected via OAuth, TextMate AI can perform the actions you explicitly request inside a chat, such as reading recent emails, searching Drive files, or checking calendar events — only in response to something you asked for in that conversation.

What it does not do

Per TextMate AI's Privacy Policy, the Google connector:

  • Does not read or scan your Google data for advertising purposes.
  • Does not share your Google data with third parties beyond what's required to fulfill your request.
  • Does not store email or file content beyond the duration of a single request.
  • Does not use your Google data to train AI models.

This follows Google's API Services User Data Policy, including its Limited Use requirements.

What TextMate AI stores

Only the OAuth tokens needed to maintain the connection are stored, and they're encrypted at rest (AES-256-GCM) in TextMate AI's Supabase database. The actual content of your emails, files, or events isn't persisted — it's fetched live when you ask for it and used only to answer that request.

How to connect

Open Settings → Connectors and choose Gmail, Google Drive, or Google Calendar (each is listed as its own connector card, all backed by the same Google OAuth flow). You'll be taken through Google's standard OAuth consent screen, where you can see exactly which scopes TextMate AI is requesting before you approve.

How to disconnect

You can revoke access at any time from Google Account Permissions — this immediately disconnects the connector in TextMate AI and deletes the stored OAuth token.

For the step-by-step reference version of this walkthrough, see Connecting Google Workspace in the docs.