Skip to content

Help

Connect Gmail and Google Calendar

Connecting Gmail and Google Calendar to Orblex is one Google sign-in that grants 6 permissions, after which the mailbox is read with read-only access and calendar events become meetings linked to the right account. Mail is read when the account is connected and whenever somebody presses Sync now, and nothing syncs on a timer.

Last updated:

Key facts

Permissions requested
6[1]
Where it is done
Settings, under Integrations
Who can connect, sync and disconnect
Members, admins and owners[15]
Messages read in one sync run
Up to 75[16]
Calendar window that is read
30 days back and 30 days ahead[17]
Manual syncs of one account
10 in 5 minutes[18]

What is needed before connecting?

A Google account whose mail is on Gmail, and a role in the workspace that may connect a mailbox: member, admin or owner. A viewer cannot. Each permission the consent screen lists is explained in Google permissions Orblex asks for.

Limit: Microsoft 365 and Outlook

Microsoft 365 and Outlook do not connect to Orblex today: the code has a place for a Microsoft adapter, and the adapter is not built.

How is a Google account connected?

  1. Open Settings, then Integrations

    The Connections list shows Google with the badge Not connected.

  2. Press Connect on the Google row

    The browser goes to Google's sign-in. The connection is an OAuth 2.0 authorisation-code flow, with the code exchanged on the server. The client secret and the tokens never reach the browser.

  3. Read the consent screen and allow it

    It asks for 6 permissions: read-only access to Gmail, permission to send, read-only access to Calendar, and 3 that identify the account.

  4. Come back to Integrations

    The Google row now shows Connected, the address of the account and when it was last synchronised. Connecting the Google account queues the first mail sync straight away.

  5. Press Sync now to read the calendar

    The calendar is first read when Sync now is pressed. Connecting the account queues the mail sync only.

The Google connection flow is protected against forged callbacks. The state parameter is a signed token that names who started the flow and expires after 10 minutes. The callback refuses anything it cannot verify, and never redirects off the site on the strength of a token. A consent screen left open for longer than that has to be started again from Connect.

When do mail and calendar sync?

A sync is a background job. Mail is read when the account is connected, and mail and calendar are read whenever someone presses Sync now. There is no automatic timer in the current version.

  • Sync now, in Settings under Integrations, queues a mail sync and a calendar sync for that account.[13]
  • Pressing Sync now shows "Sync queued". The work is done by the background queue, so the page does not wait for it.[14]
  • A message that has already been stored is skipped, so syncing again never duplicates anything.[19]
The limits on a sync, for mail and for the calendar.
LimitValueWhy, or how it applies
Messages read in one sync run[16]Up to 75Three pages of 25. The position is saved after every page, so the next run carries on from there.
Manual syncs of one account[18]10 in 5 minutes
Window that is read[17]30 days back and 30 days aheadEnough history to give a new account context, without filling the CRM with years of standups.
Calendars read[20]The primary calendar only
All-day events[21]SkippedAn entry with a date and no time is not a meeting.

What is read, and what is stored?

From Gmail, for each message:

  • The subject, the full body as text and as HTML, and a short snippet.[9]
  • The sender, and the To, Cc and Bcc recipients.[9]
  • When the message was sent or received, and its thread.[9]

From Google Calendar, for each event:

  • The title, description, start and end time, location and video-call link of each event.[12]
  • Each attendee's address, name, whether they organised it and how they responded.[12]
  • The account the meeting was linked to, and the confidence of that link.[12]

About the connected account itself:

  • The Google account id, the address and the display name of the connected account.[22]
  • The access token and the refresh token, encrypted.[22]
  • The scopes that were granted, the time of the last sync and the last sync error, if any.[22]

Orblex files each synced email and calendar event against the right account, contact and thread by fixed rules, so an account's timeline is built from the conversations themselves. What a model then reads out of each message is covered in How customer memory works.

What can the connection not do?

In the mailbox:

  • It does not modify, label, archive or delete anything in the mailbox.
  • It does not send anything on its own. No model, agent, automation or sequence can reach the send step.
  • It does not read or send attachments.
  • It does not sync on a timer. A sync runs on connection and when someone presses Sync now.
  • It does not create or change drafts inside Gmail. Drafts live in Orblex until they are sent.

In the calendar:

  • It does not create, change or delete calendar events. Access is read-only.
  • It does not create an account or a contact from an invite.
  • It does not read secondary or shared calendars.
  • It does not join, record or transcribe a meeting. Recording is started by a person in the browser.

Each integration has a page of its own: Gmail and Google Calendar.

How many accounts can a workspace connect?

Connected accounts by plan, as the plan catalogue lists them.
PlanConnected accounts
Free[23]1
Starter[23]5
Pro[23]15
Business[23]50
Enterprise[23]Unlimited

A disconnected account frees its slot. The ceiling is checked when the sample mailbox is connected, and the Google connection route does not check it yet.

However many accounts are connected, mail is sent through one. A workspace sends through one account, the one connected earliest that is still connected.

How is a Google account disconnected, and what does that do?

In Settings, under Integrations, press Disconnect on the account. Access can also be revoked from the Google account's own security settings at any time.

Disconnecting does the following.

  • Deletes the stored access token and refresh token, so no working key is left in the database.[3]
  • Stops all further syncing and sending through that account.[3]
  • Frees the account's slot against the plan's ceiling on connected accounts.[3]
  • Writes an audit entry naming who disconnected it.[3]

It leaves the following as they were.

  • It does not delete messages and meetings that were already synced. They stay on the records they were attached to unless they are deleted there.[3]
  • It does not remove the facts already read from those messages into customer memory.[3]
  • It does not remove the row for the connected account, which is kept so the emails it produced keep their provenance.[3]
  • It does not revoke the grant on Google's side. That is done in the Google account's security settings.[3]

Deleting what was already synced is done on the records themselves, and what deleting does is in Security and data handling. The wider picture is on the security page.

Questions and answers

What happens when I disconnect my mailbox?

The stored tokens are deleted, and all syncing and sending through that account stops. Messages and meetings that were already synced stay on the records they were attached to, along with the facts read from them, unless you delete them.

How often is mail synced?

A sync runs when the Google account is connected and each time someone presses Sync now in Settings. Each run reads up to 75 messages and remembers where it stopped. There is no automatic timer in the current version.

Does Orblex store email attachments?

No. The subject, the body, the sender, the recipients and the timestamps are stored. Attachments are not read or kept, and nothing can be attached to a message sent from Orblex.

Who becomes a contact when a mailbox is synced?

Only the sender of an inbound message, if no contact with that address exists. People who were only recipients are not added, and calendar invitees are not turned into contacts.

Does Orblex work with Outlook or Microsoft 365?

No. Only Gmail and Google Calendar connect today. The code has a place for a Microsoft adapter, and the adapter is not built.

Sources

  1. src/lib/integrations/google.ts (GOOGLE_SCOPES)
  2. src/lib/integrations/google.ts (googleAuthUrl)
  3. src/lib/integrations/accounts.ts (disconnectAccount)
  4. src/lib/integrations/state.ts (verifyOAuthState)
  5. src/lib/actions/integrations.ts (disconnectAccountAction)
  6. GOOGLE_SETUP.md
  7. src/lib/email/providers/gmail.ts (GmailProvider)
  8. src/lib/email/sync.ts (syncAccount)
  9. src/lib/email/ingest.ts (ingestMessages)
  10. src/lib/calendar/providers/google.ts (GoogleCalendarProvider)
  11. src/lib/calendar/sync.ts (syncCalendar)
  12. src/lib/calendar/ingest.ts (ingestEvents)
  13. src/lib/actions/integrations.ts (syncAccountAction)
  14. src/components/settings/integration-card.tsx
  15. src/lib/permissions/index.ts
  16. src/lib/email/sync.ts
  17. src/lib/calendar/sync.ts
  18. src/lib/security/rate-limit.ts
  19. src/lib/email/ingest.ts
  20. src/lib/calendar/providers/google.ts
  21. src/lib/calendar/providers/google.ts (normalizeGoogleEvent)
  22. src/lib/integrations/accounts.ts (connectAccount)
  23. src/lib/billing/guard.ts (guardIntegrationConnection)
  24. src/lib/email/resolve.ts (resolveParty)
  25. ORBLEX_BRIEF.md (Section 5: Outlook / Microsoft 365 is not built.)

Last verified:

Request early access

Orblex is in early access. It has been public at orblex.app since 5 October 2026 and is opening to a small group of sales teams before a wider launch. A person replies within one working day.

Get Early Access