# Google permissions Orblex asks for

Canonical: <https://orblex.app/docs/google-permissions>

Last updated: 6 October 2026

Site: Orblex (orblex.app), an AI-native CRM for B2B sales teams that work mostly in email, meetings and a deal pipeline

The Google permissions Orblex asks for are 6 OAuth scopes: 3 that identify the account, read-only access to Gmail, permission to send mail, and read-only access to Google Calendar. This page lists each scope exactly as it is requested, what Google grants with it, what it is used for, and which permissions are left out on purpose.

## Key facts

- **Scopes requested:** 6 [1]
- **Access to Gmail:** Read-only, plus sending a draft a person has sent [1]
- **Access to Google Calendar:** Read-only [1]
- **Scopes that can change or delete mail:** None [1]
- **How the tokens are stored:** Tokens are encrypted with AES-256-GCM before they are written to the database. [7]
- **Where access is removed:** `Settings`, under `Integrations`, or the Google account

## Which scopes does the consent screen list?

Table: The 6 scopes, in the order they are requested, with what Google grants for each and what Orblex uses it for.

| Scope | What Google grants | What Orblex uses it for |
| --- | --- | --- |
| `openid` [1] | Confirms which Google account signed in. | Identifies the connected account. |
| `email` [1] | The address of the Google account. | Shown as the connected mailbox, and used so the mailbox owner's own domain is not mistaken for a customer. |
| `profile` [1] | The name on the Google account. | Shown beside the connected mailbox. |
| `https://www.googleapis.com/auth/gmail.readonly` [1] | Read messages and settings in Gmail. It cannot change anything. | Reads messages into the CRM. The narrower read-only scope is requested on purpose instead of the one that can modify a mailbox. |
| `https://www.googleapis.com/auth/gmail.send` [1] | Send email as the account. It cannot read mail or create drafts in Gmail. | Sends a message only after a person has pressed Send on a draft in Orblex. |
| `https://www.googleapis.com/auth/calendar.readonly` [1] | Read calendar events. It cannot create or change them. | Reads events on the primary calendar so meetings appear against the right account. |

A scope is a named permission, and the list on the consent screen is the whole of what an application may do with the account. The term is defined under [OAuth scope](https://orblex.app/glossary/oauth-scope) in the glossary.

## Which permissions does Orblex not ask for?

- No scope that can modify, label, archive or delete mail. Gmail is read through the read-only scope, which was chosen on purpose over the one that can modify a mailbox. [1]
- No scope that can create or change drafts inside Gmail. A draft lives in the CRM until a person sends it. [13]
- No scope that can create, change or delete calendar events. [1]
- No scope for any other Google product. The 6 scopes in the table are the whole request. [1]

## When is the permission to send used?

No model can send email, because no tool for sending email exists for it to call. The model can call nine typed tools, and the furthest any of them goes is saving a draft. Sending takes the id of a draft from a person who is looking at it, needs its own permission, and can happen once per draft.

- **Which mailbox sends:** The first Gmail account connected to the workspace. A workspace sends through one account, the one connected earliest that is still connected. [14]
- **Times one draft can be sent:** Once. The draft is claimed before the provider is called, so a double-click cannot mail somebody twice. [13]

How a draft is approved and then sent, as two separate steps, is in [Approvals and AI work](https://orblex.app/docs/approvals-and-ai-work).

## How are the Google tokens protected?

- Tokens are encrypted with AES-256-GCM before they are written to the database. [7]
- A fresh random 12-byte initialisation vector is used for every token. [7]
- Tokens are decrypted only on the server, for the length of a request. The module that holds them cannot be imported into browser code. [8]
- The connection flow is protected against forged callbacks by a signed state token that expires after 10 minutes. [9]

Encryption at rest means that data is stored in encrypted form, so that somebody who obtains the stored files or database cannot read it without the key. The idea is explained under [encryption at rest](https://orblex.app/glossary/encryption-at-rest).

## What may Orblex do with data read from Google?

Data read from Google is used only to provide the features a user can see. Orblex requests read-only access to Gmail and Calendar plus permission to send. It does not use Google data for advertising, does not sell it, and does not use it to train generalised AI models. This follows the Limited Use requirements of the Google API Services User Data Policy.

> **Note: A policy, not a test.** A policy statement, made in the privacy policy. The scopes it rests on can be read in the code.

## How is access taken away again?

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 deletes the stored access token and refresh token, so no working key is left in the database. It does not revoke the grant on Google's side. That is done in the Google account's security settings.

The steps, and everything disconnecting leaves in place, are in [Connect Gmail and Google Calendar](https://orblex.app/docs/connect-gmail-and-google-calendar).

## Questions and answers

### What Google permissions does Orblex ask for?

It asks for 6 scopes: openid, email and profile to identify the account, read-only access to Gmail, permission to send mail, and read-only access to Calendar. It does not ask for permission to modify, label or delete anything in the mailbox.

### How are my mailbox credentials protected?

Google access and refresh tokens are encrypted with AES-256-GCM before they are written to the database, and are decrypted only on the server. They never reach the browser, and disconnecting the mailbox deletes them.

### Is my data sent to an AI provider?

When an AI provider is configured, the text of a message or meeting is sent to it to extract facts, answer a question or build the search index. An answer is written from a bounded set of retrieved passages, not from a copy of your database. With no provider configured, nothing is sent.

### Does Orblex train AI models on my data?

No. We do not train models on your data. This is a commitment about how Orblex is operated, and nothing in the product trains or fine-tunes a model. Whether an AI provider trains on what it receives is governed by that provider's own API terms.

## 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/security/crypto.ts`
8. `src/lib/integrations/accounts.ts` (accessTokenFor)
9. `src/lib/integrations/state.ts`
10. `src/lib/ai/tools/registry.ts` (TOOLS)
11. `src/lib/email/send.ts`
12. `tests/integration/email-send.test.ts`
13. `src/lib/email/send.ts` (sendDraft)
14. `src/lib/email/send.ts` (sendingAccount)
15. `src/lib/security/crypto.ts` (encryptSecret)
16. `src/lib/ai/retrieval.ts`
17. `src/lib/ai/providers/unconfigured.ts`
18. `src/content/security.ts` (DATA\_HANDLING)

Last verified: 6 October 2026

## Related pages

- [Connect Gmail and Google Calendar](https://orblex.app/docs/connect-gmail-and-google-calendar): How to connect Gmail and Google Calendar to Orblex: the one Google sign-in, what the first sync reads, when later syncs run, and what disconnecting does.
- [Gmail integration](https://orblex.app/integrations/gmail): The Gmail integration reads the messages in a connected mailbox into the CRM with read-only access, and sends a message only when a person presses Send…
- [Google Calendar integration](https://orblex.app/integrations/google-calendar): The Google Calendar integration reads events from the primary calendar with read-only access and turns them into meetings linked to the right account.
- [Orblex security](https://orblex.app/security): How Orblex, an AI-native CRM, handles customer data: each control with the test or code behind it, what the AI cannot do, and what it is not certified for.
- [Security and data handling](https://orblex.app/docs/security-and-data-handling): What a Orblex workspace admin should check: where customer text is sent, what is stored, what deleting does, what the AI cannot do, and what is not in place.
- [Orblex integrations](https://orblex.app/integrations): What Orblex connects to, Gmail and Google Calendar through one Google sign-in, and what it does not: Outlook, Slack, a public API and the rest, said plainly.

## 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](https://orblex.app/demo)
