Skip to contentSkip to content
Back to Guides

Gmail & Calendar

Let Lee read your emails, check your calendar, and send messages on your behalf. This setup takes about 10 minutes.

Max~10 minMedium|
Last updated: February 7, 2026

After this setup, Lee can:

  • Check your inbox and summarize important emails
  • Send emails on your behalf
  • View and create calendar events
  • Search your Google Drive files
  • Look up contacts

Why is this setup needed?

Google requires apps to use OAuth (a secure login system) to access your data. This means you need to create a small "app" in Google Cloud that gives Lee permission to access your account. Your data stays private - only Lee can access it, and only with your permission.

1

Create a Google Cloud Project

First, we need to create a project in Google Cloud. Don't worry - it's free and takes just a minute.

  1. Go to the Google Cloud Console
  2. Sign in with your Google account if prompted
  3. Enter a project name (e.g., "Lee Assistant")
  4. Click Create

πŸ’‘ If you see billing prompts, you can skip them. The APIs we need are free.

2

Enable the APIs

Now we need to turn on the services Lee will use.

  1. Go to APIs & Services β†’ Library
  2. Search for and enable each of these (click the API, then click Enable):
    • Gmail API
    • Google Calendar API
    • Google Drive API
    • People API (for contacts)
3

Set Up the OAuth Consent Screen

This tells Google what your "app" is called when it asks for permission.

  1. Go to APIs & Services β†’ OAuth consent screen
  2. Select External and click Create
  3. Fill in the required fields:
    • App name: "Lee Assistant" (or whatever you like)
    • User support email: Your email
    • Developer contact email: Your email
  4. Click Save and Continue through the remaining screens (you can skip the optional fields)
  5. On the "Test users" screen, click Add Users and add your own email address
  6. Click Save and Continue, then Back to Dashboard
4

Create OAuth Credentials

Now we create the credentials Lee will use to connect.

  1. Go to APIs & Services β†’ Credentials
  2. Click + Create Credentials β†’ OAuth client ID
  3. For Application type, select Desktop app
  4. Give it a name (e.g., "Lee Desktop")
  5. Click Create
  6. Click Download JSON to save the credentials file

πŸ’‘ Save this file somewhere safe. You'll send it to Lee in the next step.

5

Connect Lee

Now let's give Lee access to your Google account.

  1. Send the JSON file you downloaded to Lee via WhatsApp or Telegram
  2. Tell Lee: "Set up my Google account with this credentials file"
  3. Lee will give you a link to sign in with Google
  4. Click the link, sign in, and grant permissions
  5. You'll see a code - copy it and send it to Lee

βœ“ That's it! Lee can now access your Gmail, Calendar, and Drive.

Try it out!

After this setup, Lee can:

  • "Check my inbox for anything urgent"
  • "What's on my calendar tomorrow?"
  • "Send an email to [name] saying [message]"

Troubleshooting

"Access blocked: This app's request is invalid"
"This app isn't verified" warning
I can't find the downloaded JSON file

More Guides

Connect Gmail & Calendar to Lee - Setup Guide | Ask Lee