Gmail

Email service by Google
Connect it
In Keystile Automations → Connections → New connection, choose Gmail and sign in. Your AI tools and workflows then use it through Keystile; they never see the password or key.How connecting works.
Try it from your AI tool
Using Keystile, in Gmail: delete draft (Permanently delete a draft email by its ID).What it can do (36 actions)
| Action | What it does | Changes data |
|---|---|---|
| Add Label to Email | Apply a label to an email message. | Yes |
| Archive Email | Archive an email message by removing it from the inbox. | Yes |
| Archive Message | Archive an email message by removing it from the inbox. | Yes |
| Create Draft | Create a new draft email (optionally inside an existing thread). | Yes |
| Create Draft Reply | Creates a draft reply to an existing email. | Yes |
| Create Label | Create a new label in the mailbox. | Yes |
| Custom API Call | Make a custom API call to a specific endpoint | Yes |
| Delete Draft | Permanently delete a draft email by its ID. | |
| Find Email | Search your mailbox; with no filters it returns the latest emails. | |
| Forward Message | Forward an existing email to new recipients. | Yes |
| Get Attachment | Download an email attachment by message ID and attachment ID. | |
| Get Draft | Get a single draft email by its ID. | |
| Get Email | Read one email by its message ID, including attachments. | |
| Get Label | Get a single label by its ID, including message and thread counts. | |
| Get Message | Get a single email message by its ID. | |
| Get or Create Label | Get an existing label by name, creating it first if it does not exist. | Yes |
| Get Profile | Get the connected mailbox profile. | |
| Get Thread | Get a thread from your Gmail account via Id | |
| List Drafts | List draft emails in the mailbox. | |
| List History | List mailbox changes since a given history ID. | |
| List Labels | List all labels in the mailbox. | |
| List Threads | List email conversation threads in the mailbox. | |
| Modify Labels | Add and/or remove labels across one or more email messages in a single call. | Yes |
| Modify Thread Labels | Add and/or remove labels across every message in a thread in a single call. | Yes |
| Remove Label From Email | Remove a label from an email message. | Yes |
| Reply to Email | Reply to an existing email. | Yes |
| Reply to Thread | Reply to an existing email thread. | Yes |
| Request Approval in Email | Send an email with an approval link and pause until it is answered. | Yes |
| Search Email | Search emails using advanced criteria. If no filters are provided, the latest emails are returned. | |
| Send Draft | Send an existing draft email by its ID. | Yes |
| Send Email | Send an email through a Gmail account | Yes |
| Stop Watch | Stop push notifications on the mailbox. | |
| Trash Message | Move an email message to Trash. | Yes |
| Untrash Message | Restore an email message from Trash. | Yes |
| Update Draft | Replace the content of an existing draft email. | Yes |
| Update Label | Rename, recolor, or change the visibility of a user label. | Yes |
Start a workflow when… (4 triggers)
- New Email — Triggers when a new email matching the filters arrives.
- New Labeled Email — Triggers when this label is added to an email.
- New Attachment — Triggers for each attachment on a new email.
- New Label — Triggers when a new label is created in Gmail.
How Keystile protects it
Every Gmail action is checked before it runs, whether it comes from an AI tool or a workflow. 21 of its actions change data; your rules, limits and budgets decide whether each is allowed, held for a person or stopped, and it all goes into the signed record.
Use Gmail with your AI assistant — safelyClaude, Cursor or ChatGPT do the work; Keystile checks every action first.
Get early access