Gmail
The Gmail integration gives the AI assistant in AI-School read access to your Gmail mailbox. This lets you search, read, and summarize emails. The integration cannot send emails, create drafts, or modify messages.
Requirements
- Your administrator has enabled Google Workspace in the admin environment, via Tools → MCP → Suite shortcuts.
- Your organization uses a custom Google app.
- You are allowed to use integrations in your environment.
- You have a Google account with access to the mailbox you want to use, for example your school account.
- You choose an available AI model that can use tools. The integration is not limited to OpenAI.
Available functions
| Function | Description |
|---|---|
google_account_profile | Retrieves the profile of the linked Google account |
gmail_search_emails | Searches emails using Gmail search syntax (maximum 25 per query) |
gmail_read_email | Reads one email in full |
gmail_batch_read_emails | Reads up to 25 emails at once |
gmail_read_thread | Reads a full email conversation |
Usage examples
Searching emails
- "Search emails about the parent evening from last week"
- "Which unread emails do I have from today?"
- "Search emails from the team leader with an attachment"
Reading emails
- "What is in the latest email from school management?"
- "Summarize the email conversation about the exam week"
- "What agreements are mentioned in the latest email from my department?"
Getting started with Gmail
- Open your profile menu and go to Preferences.
- Under Tools settings → Integrations, in Provided by your organization, turn on the switch for Gmail.
- Sign in with your Google account and grant read access to Gmail.
- Start a chat and ask your question. Gmail is now available by default in your chats.
You can also click Gmail in the Tools block on the dashboard. If needed, you will sign in to Google and a chat with this integration will start immediately.
Privacy and security
The Gmail integration requests read-only access only:
- ✅ Search and read emails
- ❌ Send emails
- ❌ Create drafts
- ❌ Modify emails, mark them as read, or delete them
Access tokens are encrypted and stored server-side only. If you turn off the last Google integration in Preferences, the connection to your Google account will be disconnected. You can also revoke access via Google Account Security.
Limitations
- For attachments, the AI only sees file names; attachment contents are not read.
- Long emails are shortened.
- If your Google connection has expired, Preferences shows the Reconnect button.
Use cases
- Find correspondence: Quickly find specific emails
- Summarize: Have long email conversations summarized
- Prepare: Gather agreements and questions from earlier messages, for example for a parent meeting or department meeting
Search tips
You can also use Gmail search operators in your questions:
| Operator | Example | Description |
|---|---|---|
from: | from:jan@example.com | Emails from a specific sender |
subject: | subject:meeting | Emails with a word in the subject |
has:attachment | has:attachment | Emails with attachments |
is:unread | is:unread | Unread emails |
after: | after:2026/01/01 | Emails after a date |
Related integrations
- Google Calendar - View calendar events
- Google Drive - Search and read files
- Outlook Mail - Microsoft alternative