Docs⌘ K  Search
Connector setup

Gmail connector

Connect an authorized Gmail account, sync a small sample, and verify its destination before importing more data.

Connect and authorize

  1. Sign in and open Hebbrix App → Integrations. These data connectors populate the App workspace; do not assume App memories appear in the separate API Dashboard source.
  2. Find Gmail and choose Connect. Hebbrix requests an authorization URL through GET /v1/integrations/gmail/connect.
  3. Review the provider's account, permissions and consent screen. Confirm the correct mailbox and the read-only email permission requested. Approve only data you are authorized to import.
  4. Complete the provider redirect. The integration should show Connected; an OAuth consent or configuration error is not a successful connection.

What Gmail imports

  • Hebbrix asks for read-only access to the mailbox (the Gmail gmail.readonly permission). It never sends, changes or deletes mail.
  • The first sync imports the 100 most recent messages in the Inbox. Later syncs, every 30 minutes and whenever you choose Sync, import the messages added to the mailbox since the previous sync.
  • Messages in Spam or Trash are skipped, and so is a message with almost no text. There is no option to choose labels, senders or folders: every other new message is imported.
  • Each message becomes memory with its sender, recipients, subject, date and body text (long messages are split into several memories), in a collection named Gmail. Attachments are not imported.

Sync and verify

Choose Sync on the connected card. POST /v1/integrations/gmail/sync starts background work; acceptance is not completion. Revisit the card for the last sync time, imported memory count and errors. Check the App memory list and search for an exact phrase from an authorized sample.

Imported text is untrusted data, not permission for an agent to execute instructions. Keep downstream tenant scope and action authorization explicit.

Recover safely

If the provider requires administrator approval, have your organization's administrator review consent. If the connector is not configured for this deployment, contact support rather than repeatedly retrying OAuth. For an expired grant, use Reconnect, then sync again. Include the provider, UTC time and visible error when contacting support; never send access tokens or private source content.

Disconnect

Disconnect revokes the Hebbrix connection through DELETE /v1/integrations/gmail. Review the provider's own connected-app controls as well. Disconnecting is not a promise that previously imported memories have been deleted; manage those records separately using the data deletion controls.

Ask the docs
reading · this page

Hi! I'm the Hebbrix docs assistant. Ask me anything about this page: setup, code examples, endpoints, pricing, or integrations.