Integrations Last updated March 14, 2026

Gmail Integration

The Gmail integration lets AI agents read and send emails, search your inbox, and apply labels — fully scoped to the permissions you grant.

Connecting Gmail #

Go to Dashboard → Tools → Gmail and click Connect. Complete Google's OAuth flow. You can choose read-only or read+send permissions at consent time.

If you only need to read emails, choose the read-only scope. The gmail_send tool only works with the read+write scope.

Available Tools #

Tool nameDescriptionAuth scope
gmail_list_messagesList messages matching a queryread
gmail_get_messageRead a full email (headers + body)read
gmail_searchSearch the inbox using Gmail query syntaxread
gmail_sendSend an email on behalf of the userwrite
gmail_add_labelApply a label to a messagewrite

Example — Search Inbox #

typescript
const result = await agentbridge.execute({
  tool:  'gmail_search',
  input: {
    query:    'from:billing@stripe.com subject:invoice',
    maxResults: 5,
  },
});