How to connect Gmail
Anyone with a Crewhir account can connect Gmail. It takes about a minute, and you can connect more than one Gmail account.
- Sign in to Crewhir at app.crewhir.com and open Integrations in the sidebar.
- Find Gmail and open it, then click Connect Gmail (or Add account if one is already connected).
- Optionally give the account a nickname, then click Continue to Gmail.
- Gmail opens and asks you to sign in and choose the workspace or account to connect. Review the permissions it lists (they are explained below) and click Allow.
- You come back to Crewhir and the account shows Connected.
Gmail shares one Google sign-in with Google Calendar, Google Drive, Google Docs, Google Sheets, Google Maps, Google Ads and Google Analytics. Connecting one connects them all.
Permissions Crewhir requests
Crewhir requests seven OAuth permissions from Gmail. Gmail shows them on its consent screen before you allow access.
| Permission |
|---|
| Sign you in |
| See your email address |
| Read, draft, send and organise your email |
| See and edit only the Drive files Crewhir creates or you open with it |
| Read and edit your Google Docs |
| Read and edit your Google Sheets |
| Read and edit events on your calendars |
A permission lets Crewhir ask; it doesn’t mean Crewhir acts on its own. Changes stay off until you turn them on, and each one waits for your approval.
What Crewhir can read and modify in Gmail
This is the complete list. Crewhir can’t call anything in Gmail that isn’t here. Reading happens only when someone asks Crewhir for something that needs it.
Read
Always on. Runs when you ask.
- Check which account is connected
- List messages
- Read message
- Read attachment
Modify
Off until you turn it on. Approved one at a time.
- Create a draft email
- Send an email
To let Crewhir make a change, open Gmail in Integrations and turn it on under What Crewhir can change. Even then, Crewhir stops and asks before each change, and drops it if nobody answers within 15 minutes. Everything it changes is listed under Recent changes.
Test the integration
1. Check the connection
On the Gmail page in Crewhir, click Check next to the account. Crewhir calls Gmail with the stored credentials and confirms which account answered. You’ll see “account is working”.
2. Run a read action
Start a new chat. In the message box, open the tools menu and make sure Gmail is ticked, then send:
Using Gmail, list messages.
3. Test a change (with approval)
Turn on Create a draft email for the account, then ask Crewhir to do it. Crewhir stops and shows what it’s about to send to Gmail. Click Approve to run it, or Decline to drop it. Nothing changes in Gmail until you approve.
How to disconnect Gmail
- In Crewhir, open Integrations, then Gmail.
- Click ⋯ next to the account and choose Disconnect. (With several accounts, the menu at the top also offers Disconnect all accounts.)
- Confirm with Disconnect.
Crewhir deletes the connection and its stored access and refresh tokens straight away. From then on it can’t read or change anything in Gmail. Because Google Calendar, Google Drive, Google Docs, Google Sheets, Google Maps, Google Ads and Google Analytics use the same Google sign-in, they are disconnected too.
To revoke the grant on Gmail’s side as well, in your Google Account, open Security, then Your connections to third-party apps and services, and remove Crewhir.
Data and security
- Credentials are encrypted at rest and never shown back to anyone, including your workspace admins.
- Crewhir only calls the 6 actions listed above, and only when someone in your workspace asks for something that needs Gmail.
- Changes are off by default, need your approval each time, and are logged under Recent changes.
- Disconnecting deletes the stored credentials immediately.
Read more on our security page and in the privacy policy. Questions about this integration: [email protected].