# Allow only work accounts to be connected

On Enterprise, how the owner or an admin makes members connect only company accounts to Gmail, the Google apps and Slack in a workspace, what counts as a work account, and what happens to accounts already connected.

**Work accounts only** makes sure that, in a shared workspace, members connect only their company accounts to the built-in apps it covers. While it is on, a member who tries to connect a personal account, such as a personal Gmail address, is refused, and nothing is connected. The message they see names the account and tells them what to do: connect their company account instead, or ask an owner or admin.

Work accounts only is part of [Bluedeer Enterprise](https://support.bluedeer.ai/team-and-enterprise/plan-overviews/what-is-enterprise.md). On the Team plan it shows locked, with an **Enterprise** badge, and owners and admins can select **Contact sales** from there.

## Where to find it

Only the workspace owner or an admin can see and change Work accounts only. On the web, open the **Workspace** page, select **Settings**, choose the **Rules** tab and scroll to **Work accounts only**, just below **Outside addresses**. On the phone, open **Manage workspace**, and on **General** tap **Work accounts only** under **Rules**.

The panel shows the switch, your verified domains, the apps that are covered, and, while it is on, the accounts connected earlier that aren't work accounts.

## What counts as a work account

An account counts as a work account when its address is on one of the workspace's [verified domains](https://support.bluedeer.ai/team-and-enterprise/identity-management/verified-domains.md), or when it is allowed under [Outside addresses](https://support.bluedeer.ai/team-and-enterprise/security-and-compliance/outside-addresses.md) with **Connect** or **Both**. Every other account counts as **outside**.

### Google accounts

For Gmail, Google Calendar, Google Drive, Google Docs and Google Sheets, Bluedeer asks Google who the account belongs to:

- The account must be a **Google Workspace account managed by your company**. Google says which domain manages an account, and that domain must be one of your verified domains.
- A **Google Workspace account managed by a verified domain** counts as inside whatever its address is. For example, if your company's Google Workspace manages both `acme.com` and `acme-labs.com`, and `acme.com` is verified, an account at `acme-labs.com` counts as inside.
- A **personal Google account made with a work address** counts as outside, even though its address is on your domain. Anyone can create a Google account with any email address they own, so the address alone doesn't prove that the company manages the account. Such an account is allowed only if the address is listed under Outside addresses with **Connect** or **Both**.

Every Google sign-in from Bluedeer also asks for Google's basic **See your primary Google Account email address** permission, so Bluedeer can tell which account was chosen.

### Slack

For Slack, the account counts as a work account when the Slack account's email address is inside (on a verified domain, or allowed with **Connect** or **Both**) and the account belongs to the Slack workspace already connected to your Bluedeer workspace.

### How addresses are compared

- **Gmail dots and googlemail.com:** `jane.doe@gmail.com`, `janedoe@gmail.com` and `jane.doe@googlemail.com` are the same mailbox, so they are treated as the same address. This matters when you list a single Gmail address under Outside addresses.
- **Plus-addressing is not normalized:** `jane+work@acme.com` is a different address from `jane@acme.com`, unless the whole domain is allowed.
- **Aliases:** only the account's primary address counts. An alias or a secondary address on your domain doesn't make an outside account a work account.
- Letter case doesn't matter.

## Exceptions

To let members connect an account that isn't on your verified domains, for example a contractor's company account, add its domain or address under [Outside addresses](https://support.bluedeer.ai/team-and-enterprise/security-and-compliance/outside-addresses.md) and choose **Connect** or **Both**:

- **Contact:** the AI may email, invite or share with it. This doesn't allow connecting accounts.
- **Connect:** members may connect accounts at it while Work accounts only is on.
- **Both:** both of the above.

## Turning it on

Turning Work accounts only on **never disconnects anyone**. It only refuses new connections that aren't work accounts.

If some accounts already connected in the workspace aren't work accounts, Bluedeer lists them before turning it on: the person, the app, the account and the reason. You then choose:

- **Leave existing, block new** (the default): the accounts already connected keep working, and new connections must be work accounts.
- **Disconnect these now:** Bluedeer turns the setting on and signs those accounts out of the workspace. A confirmation first tells you how many people this signs out. The people affected can connect their work account again.

Some accounts can't be checked until their owner connects them again, for example an account connected before Bluedeer asked Google for the account's address. They are listed separately under **Can't be checked until they connect again**, and they are never disconnected by this choice. The next time they connect, they are checked like any other account.

## While it is on

The panel lists the accounts that were connected before and aren't work accounts under **Connected before, not work accounts**, with the person, the app, the account and the reason in a few words. Nothing is disconnected automatically. An owner or admin can select **Disconnect these now** at any time, after the same confirmation.

Accounts already connected, including those listed, keep working:

- Bluedeer keeps refreshing their access as usual.
- Scheduled tasks and tasks started by an event that use them keep running.

### If a domain stops being verified

If one of your domains stops being verified, new connections on that domain are refused, and owners and admins are warned in the panel. If no domain is verified at all while the setting is on, the panel shows a warning: only addresses allowed under Outside addresses can be connected until a domain is verified again.

## What isn't covered

- **Custom connectors and connectors from the catalog.** Bluedeer can't tell which account they sign in with, so they show **Can't be checked for this connector**, and members can connect any account to them.
- **Bluedeer's own sign-in.** Work accounts only covers the apps members connect, not how they sign in to Bluedeer. To control sign-in, use [single sign-on](https://support.bluedeer.ai/team-and-enterprise/identity-management/single-sign-on.md) and its rules.
- **The Personal workspace.** Each person's Personal workspace is never affected. They can connect any account there.

## If the workspace leaves Enterprise

If the workspace moves from Enterprise to the Team plan while Work accounts only is on, it stays on and keeps working. An owner or admin can still turn it off, but turning it on again needs Enterprise.
