Connect Gmail to AI agents

Connect Gmail to Claude, Codex, Cursor, or other AI agents for your entire team. Metorial security, governance, observability, and gives your team a unified Magic MCP url to connect.

Supported Triggers

mailbox_changes

Mailbox Changes

Triggers when new messages arrive, messages are deleted, or labels change in the Gmail mailbox. Uses the Gmail history API for efficient incremental sync.

inbound_webhook

Inbound Webhook

Receives HTTP POST at the Slates webhook URL. Parses JSON into payload (or stores raw body if not JSON). Configure your provider to POST here when supported.

More integrations teams use with Gmail

Slack

Slack: connect with bot OAuth or user OAuth to work with messages, conversations, search, files, Canvases, Lists, profiles, reactions, reminders, and workspace productivity settings.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Resolve site users to numeric Person/Group LookupId values. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Subscribe to webhooks for list and library change notifications. Retrieve site properties and search for sites across Microsoft 365.

Microsoft Outlook

Send, read, reply to, forward, and manage email messages in user mailboxes. Organize messages into folders, apply categories, flags, and importance levels. Manage file and item attachments. Create, update, delete, and respond to calendar events and meetings. Find available meeting times, manage attendees, handle recurrence, and work with shared or delegated calendars. Create, read, update, and delete contacts, organize them into contact folders, and manage contact photos. Manage tasks and task lists via Microsoft To Do, including due dates, reminders, recurrence, and checklist items. Subscribe to webhook notifications for changes to messages, calendar events, and contacts. Support for Focused Inbox, @-mentions, mail tips, send-on-behalf, and send-as capabilities.

Discord

Send, edit, and delete messages in channels. Manage servers (guilds), channels, roles, members, invites, webhooks, threads, scheduled events, auto moderation rules, audit logs, application commands, and custom guild emojis. Add or remove users, assign roles, kick or ban members, and receive supported message, guild, channel, member, and inbound webhook triggers.

Confluence

Create, read, update, and delete pages, blog posts, comments, and attachments in Confluence spaces. Manage spaces, permissions, labels, and content restrictions. Search content using Confluence Query Language (CQL). Upload and download file attachments with versioning. Manage users, groups, and group memberships. Create and manage whiteboards, databases, folders, and templates. View and update inline tasks. Access audit logs. Listen for webhooks on page, blog, comment, attachment, space, label, and user events.

Microsoft Teams

Send, read, update, and delete messages in channels and chats. Create and manage teams, channels, and memberships. Schedule and manage online meetings, access call recordings and transcripts. Monitor user presence status in real time. Manage shifts, schedules, and time-off requests for frontline workers. Install and configure apps and tabs within teams. Send activity feed notifications to users. Subscribe to change notifications (webhooks) for messages, chats, teams, channels, memberships, presence, and meeting events. Create and manage tags for @mentioning user groups. Generate usage reports and import historical message data from other platforms.

How to use Gmail on Metorial

Automate Client Appointment Reminders via Acuity and Gmail

Service businesses with high appointment volumes see no-show rates climb when reminder workflows are manual or inconsistent. This workflow checks upcoming Acuity appointments, reviews each client record, and sends personalized reminder emails via Gmail with appointment details and any required preparation instructions.

E-commerce Order Anomaly Detection and Customer Notification

Scan recent Shopify orders for anomalies such as high-value orders with mismatched shipping addresses or unusual item quantities, then notify the operations team via Slack and send a confirmation email to the customer.

Onboard New HubSpot Contacts with a Calendly Scheduling Link

When new leads are created in HubSpot, sales teams often delay follow-up because scheduling a first meeting requires back-and-forth email. This workflow detects new HubSpot contacts, creates a personalized Calendly scheduling link, and sends a follow-up email through Gmail so prospects can book immediately.

Salesforce Lead-to-Deal Pipeline Automation

Convert qualified Salesforce leads into contacts and opportunities, validate their email addresses, enrich company data, and notify the assigned rep via email with a summary of the new deal.

Scheduled Meeting Booking Workflow for Sales Teams

When a prospect requests a demo, check the rep's Calendly availability, create a scheduling link for the appropriate event type, and log the meeting details back into HubSpot with a follow-up task.

Shopify Inventory Reorder Alerts and Supplier Email Drafting

Scan inventory levels across Shopify locations, identify products below reorder threshold, and draft reorder emails to suppliers with product details and requested quantities ready for review.

Shopify Product Launch Coordination

Coordinate a new product launch by creating the product in Shopify, setting up a discount code for launch day, notifying the team in Slack, and sending a launch announcement email to the customer list.

Technical notes for Gmail

Send, read, and search email messages with support for recipients, attachments, and HTML content. Create, update, and send drafts. Manage conversation threads and organize messages with labels. Search mailboxes using Gmail query syntax (from, to, subject, date, attachment filters). Configure mail settings including forwarding rules, filters, vacation responders, signatures, aliases, and delegates. Import and insert messages for migration. Sync mailbox changes incrementally via history API. Subscribe to mailbox change notifications via push notifications.

Connect Gmail to production AI agents

See how Metorial gives Gmail access the governance, tracing, and security controls teams need.

Frequently asked questions

Common questions about connecting Gmail to AI agents with Metorial.

  1. Can Metorial connect Gmail to AI agents?
    Yes. Metorial connects AI agents to Gmail through a governed integration layer, so teams can use the provider while keeping access controlled and observable.
  2. Metorial is MCP compatible and lets teams expose approved provider tools to MCP-capable agents and clients through a controlled access layer.
  3. Metorial applies policies across users, groups, providers, agents, and individual tools, then records the context around every agent interaction.
  4. Yes. Metorial records provider activity so teams can inspect tool calls, troubleshoot integrations, and give security teams the visibility they need.