On this page
Content reviewed for v0.213.0. See changes since your version.
Set this up once for your Google Workspace organization. Each teammate uses your organization’s OAuth client and signs in to their own mailbox in Google. If your administrator already gave you a file or join code, connect your mailbox in Getting Started.
Create an Internal OAuth App for Gmail
- In Google Cloud, create or select a project owned by your Workspace organization. Enable the Gmail API in that project.
- In Google Auth Platform, configure Branding with your app name and support information. Under Audience, choose Internal. If Internal is unavailable, check that the project belongs to the intended Workspace organization. Google’s consent setup guide.
- Under Clients, choose Create client, select Desktop app, and download the resulting JSON. Google’s desktop client instructions.
- Review Security → Access and data control → API controls in the Google Admin console if your organization restricts app access. Use the new OAuth client ID to find the app and apply the access policy for the users who should connect. Google Workspace app access controls.
- Test with a Workspace mailbox before distributing the client. Open Settings → Mail Accounts → Add Account → Gmail, import the JSON, and sign in with that mailbox. Confirm that mail syncs and that you can send and apply a label.
ThreeStrands requests openid and email to identify the account, and https://www.googleapis.com/auth/gmail.modify to read, send, archive, and label mail. Each user authorizes their own mailbox. Gmail API scopes.
Share the Client With Your Team
Share the downloaded JSON through your organization’s private distribution channel. To share a code instead, choose Import Google Setup File… under Settings → Organizations → For Organization Administrators. Next to the setup, choose Share Google Setup… and share the code or its QR code privately. Teammates enter the code under Enter Join Code…. Send teammates the Workspace Gmail connection steps.
Treat the JSON, the code, and its QR image as credentials. An organization join code provides OAuth setup for that organization. Replicated Sync join codes are used to add devices to a sync group. Employees import the client and authorize mail on each computer.
Enable Google Calendar for Your Organization’s Client
Use this option if your organization requires its own Calendar OAuth app. Enable the Google Calendar API in the project for the chosen client. ThreeStrands requests openid, email, https://www.googleapis.com/auth/calendar.readonly, and https://www.googleapis.com/auth/calendar.events when users connect Calendar. The Calendar connection has its own consent even when you use the same organization client for mail and calendar. Calendar API scopes · Connect a Workspace calendar.
Share Team Updates
Open Settings → Organizations. On an existing organization’s card, choose Set Up Team Updates…. To start from scratch, choose Set Up a New Team… under For Organization Administrators. Choose an optional PNG logo and select a shared folder, HTTPS URL, or S3-compatible bucket your teammates can read. Under Google Sign-in Setups to Share, select a saved setup or choose Import Google Setup for This Team… to import the desktop app JSON. The selected setups appear by name on the organization’s card. ThreeStrands signs the update file and enables encryption by default. Restrict access to your team and use read-only credentials for teammates where applicable.
On the organization’s card, choose Prepare Update… to choose or import a Google sign-in setup for an existing team. The saved update includes your selected Google setups and your organization’s logo. Use Save to Shared Folder for a shared folder. For HTTPS or S3, use Save Update File… and upload the file to the configured location. An HTTPS update URL must return the update file directly.
Choose Share Team Join Code… and share it privately. Teammates paste the code in Enter Join Code… and choose Enable Team Updates. ThreeStrands checks for updates automatically, and teammates can also select Check for Updates. They can then pick which mailboxes show the logo under Mail Account Links.
When a replacement client becomes available, each teammate uses Change Google Sign-in Setup… and signs in again with the same account. Verify mail and any affected Calendar connections before retiring the old client in Google Cloud. See change a Gmail OAuth client.