Gmail
Send email through Gmail after you approve it.
| Family | Category | Sub-type | Auth type |
|---|---|---|---|
| Communication | communication | email | oauth2 |
Overview
| Product URL | API docs | Supported features |
|---|---|---|
| https://workspace.google.com/gmail/ | https://developers.google.com/workspace/gmail/api/guides | tool_discovery, health_check, approval_gated_writes |
Setup
- Install the connector instance.
- Complete the OAuth authorization flow.
- Sync the tools and test the connection.
- Review approval-gated write tools before running them.
Auth & Configuration
This connector does not require additional instance config.
Available Tools
| Tool | Requires approval | Description |
|---|---|---|
send_email | Yes | Send an email message from the authenticated Gmail account. |
Gmail offers sending only. Chainabit does not read your mail, list your labels, or save drafts.
Tools that require approval cannot be run with direct execution (API or CLI); they return 403. Run them through Chao instead, which applies its approval rules before acting.
Examples
Install
curl -X POST "https://api.chainabit.com/api/v1/connectors/instances" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"connectorKey": "gmail",
"displayName": "Gmail"
}'Credentials
curl -X POST "https://api.chainabit.com/api/v1/connectors/instances/$INSTANCE_ID/oauth/initiate" \
-H "Authorization: Bearer $TOKEN"Google access and scopes
This connector requests only the following Google OAuth scope:
https://www.googleapis.com/auth/gmail.send
Sending an email always needs your approval for each action. The approval shows the actual content to be sent, and it expires shortly after it is shown.
Limited Use of Google user data
Chainabit's use and transfer of information received from Google APIs adheres to the Google API Services User Data Policy, including the Limited Use requirements. In practice:
- Google user data is used only to provide the features you request in Chainabit, such as sending an email or changing an event after you approve it.
- Chainabit does not use Google user data to develop, improve or train generalized AI or machine-learning models, and does not allow model providers to do so.
- Chainabit does not sell Google user data and does not use it for advertising.
- Humans do not read Google user data unless you give consent for specific items, it is needed for security purposes such as investigating abuse, or it is required by law.
- Content from Google Workspace is sent only to AI providers that have been approved for it under a no-training contract. If no approved provider is available, the request is refused and nothing is sent. Chainabit does not publish a list of approved providers on this page.
Security Notes
- Keep tokens, API keys, and connection strings in the encrypted credentials vault.
- Do not allow arbitrary server URLs for remote MCP connectors.
Troubleshooting
- If the health check fails, verify the token scope or credential payload and try again.
- If the tool list is empty, re-run sync-tools after storing the latest credentials.