MyOpenClaw
All Tutorials
beginner
6 min read

Connect Gmail and Google Calendar

Give your OpenClaw assistant access to your Gmail inbox and Google Calendar so it can read emails, draft replies, and manage your schedule.

Connect Gmail and Google Calendar

Once connected, you can ask your assistant things like "summarize my emails from today," "what's on my calendar tomorrow?", and "draft a reply to Sarah's message." This tutorial walks through the complete setup.

Prerequisites

  • A Google account (Gmail/Google Workspace)
  • Your MyOpenClaw instance running
  • Connect via Google OAuth

    The easiest way to connect Google services is through the Integrations panel:

  • Go to Dashboard → Integrations
  • Find the Google Workspace card
  • Click Connect with Google
  • Sign in to your Google account and grant permissions:
  • - Gmail: Read, compose, and send emails

    - Google Calendar: Read and modify events

    MyOpenClaw requests only the permissions needed. We never store your email content — the connection is used by your instance to query Google directly.

    What You Can Do with Gmail

    Once connected, send these messages to your assistant:

    Inbox summary:
    "Summarize my unread emails from today. Flag anything that needs a reply."
    Email drafting:
    "Draft a professional reply to the email from [Name] about the project timeline. Keep it concise."
    Search:
    "Find emails from Acme Corp in the last 3 months. What did we agree on?"
    Monitoring:
    Set up a heartbeat: "Check my inbox every morning and send me a summary of emails that need responses."

    What You Can Do with Google Calendar

    Check schedule:
    "What do I have today? Anything back-to-back I should prepare for?"
    Schedule events:
    "Book a 45-minute call with Alex next Tuesday afternoon and invite alex@example.com"
    Prepare for meetings:
    "I have a meeting with Acme Corp in 30 minutes. Search for recent news about them."
    Weekly planning:
    Set up a Monday morning heartbeat: "Review my calendar for the week and flag any conflicts or missing prep time."

    Using iCal (No OAuth)

    If you prefer not to grant full OAuth access, Google Calendar supports read-only iCal links:

  • In Google Calendar, find your calendar in the left sidebar
  • Click the three dots → Settings and sharing
  • Scroll to Secret address in iCal format and copy the URL
  • In MyOpenClaw, go to Integrations → Calendar (iCal) and paste the URL
  • This gives your assistant read-only access to your calendar without OAuth.

    Privacy Notes

  • Your Google credentials are never stored on MyOpenClaw servers
  • OAuth tokens are encrypted at rest with AES-256-GCM
  • You can revoke access anytime at myaccount.google.com/permissions
  • Your instance communicates directly with Google APIs — your emails don't pass through MyOpenClaw servers