Google Apps60 toolsBrowser login (OAuth), no API keys
Gmail integration for AI agents
Send, read, and manage emails
Use it from your agent
One ClawLink account serves every agent you run. Pick the guide for yours, or connect Gmail once and call the same tools from all of them.
Deeper comparison, failure modes and setup details: Gmail for AI agents, in depth.
Setup
Connect Gmail through ClawLink's hosted setup to send emails, read messages, manage drafts and labels, and search your inbox.
- Auth: Browser login (OAuth), no API keys. The credential stays on the ClawLink server; your agent holds only a ClawLink key you can revoke.
- Where: the ClawLink dashboard, or ask your agent to connect it.
What your agent can do
Gmail exposes 60 tools through ClawLink. The 30 most used are listed here; your agent sees all of them.
| Tool | What it does | Kind |
|---|---|---|
gmail_add_label_to_email | Add a label to a Gmail message | Write |
gmail_create_email_draft | Create a Gmail draft | Write |
gmail_create_label | Create a Gmail label | Write |
gmail_fetch_emails | Search and fetch Gmail messages | Read |
gmail_fetch_message_by_message_id | Get a Gmail message by ID | Read |
gmail_fetch_message_by_thread_id | Get a Gmail message by thread ID | Read |
gmail_forward_message | Forward a Gmail message | Write |
gmail_get_attachment | Get a Gmail attachment | Read |
gmail_get_profile | Get the connected Gmail account profile | Read |
gmail_list_drafts | List Gmail drafts | Read |
gmail_list_labels | List Gmail labels | Read |
gmail_list_send_as | List Gmail send-as aliases | Read |
gmail_list_threads | List Gmail threads | Read |
gmail_reply_to_thread | Reply to a Gmail thread | Write |
gmail_send_email | Send a Gmail message | Write |
gmail_create_prompt_post | Send a one-shot prompt to the Sanity Content Agent | Write |
gmail_get_auto_forwarding | Get the auto-forwarding setting for the specified account | Read |
gmail_get_contacts | Fetches contacts (connections) for the authenticated Google account, allowing selection of | Read |
gmail_get_draft | Retrieves a single Gmail draft by its ID | Read |
gmail_get_filter | Retrieve a specific Gmail filter by its ID | Read |
gmail_get_label | Gets details for a specified Gmail label | Read |
gmail_get_language_settings | Retrieve the language settings for a Gmail user | Read |
gmail_get_people | Retrieves either a specific person's details (using `resource_name`) or lists 'Other Contacts' | Read |
gmail_get_vacation_settings | Retrieve vacation responder settings for a Gmail user | Read |
gmail_list_filters | List all Gmail filters (rules) in the mailbox | Read |
gmail_list_forwarding_addresses | List all forwarding addresses for the specified Gmail account | Read |
gmail_list_history | List Gmail mailbox change history since a known startHistoryId | Read |
gmail_search_people | Searches contacts by matching the query against names, nicknames, emails, phone numbers, and | Read |
gmail_settings_send_as_get | Retrieve a specific send-as alias configuration for a Gmail user | Read |
gmail_batch_modify_messages | Modify labels on multiple Gmail messages in one efficient API call | Read |