Google Workspace

Gmail, Google Calendar and Google Drive

The Google Workspace integration lets you work with Gmail, Google Calendar, and Google Drive directly from MeinGPT: read and write emails, manage events, and search files in Drive.

Gmail, Calendar, and Drive are separate connectors. You activate exactly the ones you need in a chat or assistant.

Overview

Execution runs in user context: tool calls use the permissions of the authenticated user. This ensures chats and assistants only access data the current user is allowed to see.

Google Workspace is Google's integrated suite of cloud-based productivity and collaboration tools. With the MeinGPT integration, you can:

Gmail:

  • List and read emails
  • Search emails by various criteria (sender, subject, content)
  • Access message details and content
  • Filter emails by labels
  • Create and edit drafts, send emails

Deleting emails is not currently supported.

Google Calendar:

  • List available calendars and their details
  • View calendar events for any date range
  • Get detailed information about specific events
  • View meeting attendees and details
  • Create, update, and cancel events
  • Invite attendees (this sends notifications)

Google Drive (read-only):

  • List, filter, and sort files
  • Search files by text and file type
  • Retrieve file metadata
  • Load selected files into the chat

Setup

The Google Workspace integration uses OAuth authentication, so no manual API key configuration is required.

Steps to activate:

  1. Activate tools: Select the Google tools you need (Gmail, Google Calendar, and/or Google Drive) in your assistant, or enable them directly in a chat via the "+" menu
  2. Authentication: On first use, you'll be automatically redirected to Google
  3. Select account: Choose the Google account you want to access
  4. Confirm permissions: Review and accept the requested permissions (depending on the activated tool):
    • Read Gmail messages, create drafts, and send emails
    • View and manage calendars and events
    • Read Google Drive files
  5. Done: After successful authentication, you can start working with Google Workspace immediately

Attention

Note on first connect: At step 4, Google shows the warning screen "This app hasn't been verified by Google." That's expected — MeinGPT uses a single, centrally-managed Google OAuth connection that hasn't (yet) gone through Google's verification process. See the Troubleshooting section for details.

Available Features

Gmail Features

List Emails

Display emails based on various criteria:

"Show me the last 10 emails"
"Search for emails from customer@example.com"
"Find all unread emails in inbox"
"Show emails with subject 'Invoice'"

Get Email Details

Access complete email content:

"Show me the content of email with ID xyz123"
"Read the latest email from my boss"

Use Gmail search syntax for precise queries:

"Search emails: from:support@example.com subject:Ticket"
"Find emails with attachments from last month"
"Show important emails from this week"

Google Calendar Features

List Calendars

Show all available calendars:

"What calendars do I have?"
"Show me all my Google calendars"

View Events

Overview your appointments and meetings:

"What's on my calendar today?"
"Show me all events for next week"
"What meetings do I have tomorrow?"
"What's my next appointment?"

Event Details

Get detailed information about events:

"Show details for the 2 PM meeting"
"Who's attending the project meeting?"
"Where is the team event taking place?"

Google Drive Features

Google Drive is connected as read-only: you can find files and load them into the chat, but not create or change anything in Drive.

Find Files

Search your Drive by content or file type:

"What files are in my Drive?"
"Search Drive for the presentation 'Quarterly Report'"
"Find all PDFs in this folder"

Load Files into the Chat

Hand a found file to the assistant:

"Load the file 'Offer.docx' into the chat"
"Take the most recently changed spreadsheet as context"

Restrict Access to Folders (optional)

  • Default Folder: Sets the folder in your personal connection used for listing and searching when no specific folder is given.
  • Restrict to Folders: Restricts access to selected folders and their subfolders. In an assistant, this is an additional limit; leaving the field empty there still preserves your personal connection's restriction.

Save the assistant's folder selection with Save in the assistant editor. This does not change the existing personal connection. When both levels specify folders, only their shared scope is accessible. Full access is available only without restrictions at either level and within your Google permissions.

Shared Drives

The assistant can also search and list files in shared (team) drives, in addition to your personal Drive.

Usage Examples

You get the most value when the assistant combines several services:

"Show me all appointments for tomorrow with attendee lists and find the related emails about the client meeting"
"Summarize the most important unread emails from today and draft suitable replies"
"Create an overview of my meetings this week and load the related presentation from Drive"

Skills

Gmail and Google Calendar ship skills – instructions the AI loads automatically when a request matches:

  • gmail-reply-drafting: answers an email as a draft in the original thread. It is only sent when you explicitly confirm.
  • gmail-inbox-triage: sorts emails into "needs action", "waiting on others" and "for information", each with a suggested next step.
  • google-calendar-scheduling: finds free time, proposes slots and creates the event only after your confirmation, since guests receive an invitation.

The skills are available as long as the plugin is active in the chat. You find them in the library under Skills in the Plugins tab.

Gmail Search Operators

Use these advanced search operators for precise email searches:

  • from: - Emails from specific senders
  • to: - Emails to specific recipients
  • subject: - Emails with specific subject lines
  • label: - Emails with specific labels
  • has:attachment - Emails with attachments
  • is:unread - Unread emails
  • is:important - Emails marked as important
  • after: / before: - Emails after/before a specific date

Large-scale search via data pools

Besides native connector mode, Gmail/calendar-adjacent knowledge can be indexed into data pools and searched at scale in RAG scenarios.

  • Useful for larger communication and knowledge datasets
  • Better for centralized enterprise-wide retrieval
  • Important: native user-level permissions from connector mode do not carry over automatically

Learn more under Data Pools (RAG).

Limitations

  • Google Drive read-only: In Drive you can search and load files, but not create or change files
  • Gmail deletion not available: The assistant can read emails, create drafts, and send, but cannot delete emails
  • Permissions: Access only to authorized calendars and emails
  • Rate Limits: According to Google API restrictions
  • Attachments: Attachment contents are not displayed directly
  • HTML Emails: HTML formatting is displayed as raw text

Privacy and Security

  • Authentication is secure via OAuth 2.0
  • MeinGPT does not store Google credentials
  • All data is transmitted encrypted
  • Write actions (sending email, changing events) only happen on your explicit instruction
  • You can revoke the connection at any time in your Google account settings

Troubleshooting

"Calendar not found"

  • Ensure you have access to the calendar
  • Use 'primary' for your main calendar
  • Check the calendar ID in Google Calendar settings

"No emails found"

  • Check your search criteria
  • Ensure Gmail permissions were granted
  • Use advanced search operators for more precise results

Authentication Errors

  • Check your Google account settings
  • Revoke and renew app permissions
  • Ensure third-party apps are allowed

"This app hasn't been verified by Google" warning

This is expected behavior, not a security problem. MeinGPT connects via a single, centrally-managed Google OAuth app that hasn't (yet) gone through Google's third-party app verification process. Click "Advanced" and then "Go to MeinGPT (unsafe)" to proceed.

Was this page helpful?