Skip to content

Gmail

Email service by Google

CommunicationData & analytics

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)

ActionWhat it doesChanges data
Add Label to EmailApply a label to an email message.Yes
Archive EmailArchive an email message by removing it from the inbox.Yes
Archive MessageArchive an email message by removing it from the inbox.Yes
Create DraftCreate a new draft email (optionally inside an existing thread).Yes
Create Draft ReplyCreates a draft reply to an existing email.Yes
Create LabelCreate a new label in the mailbox.Yes
Custom API CallMake a custom API call to a specific endpointYes
Delete DraftPermanently delete a draft email by its ID.
Find EmailSearch your mailbox; with no filters it returns the latest emails.
Forward MessageForward an existing email to new recipients.Yes
Get AttachmentDownload an email attachment by message ID and attachment ID.
Get DraftGet a single draft email by its ID.
Get EmailRead one email by its message ID, including attachments.
Get LabelGet a single label by its ID, including message and thread counts.
Get MessageGet a single email message by its ID.
Get or Create LabelGet an existing label by name, creating it first if it does not exist.Yes
Get ProfileGet the connected mailbox profile.
Get ThreadGet a thread from your Gmail account via Id
List DraftsList draft emails in the mailbox.
List HistoryList mailbox changes since a given history ID.
List LabelsList all labels in the mailbox.
List ThreadsList email conversation threads in the mailbox.
Modify LabelsAdd and/or remove labels across one or more email messages in a single call.Yes
Modify Thread LabelsAdd and/or remove labels across every message in a thread in a single call.Yes
Remove Label From EmailRemove a label from an email message.Yes
Reply to EmailReply to an existing email.Yes
Reply to ThreadReply to an existing email thread.Yes
Request Approval in EmailSend an email with an approval link and pause until it is answered.Yes
Search EmailSearch emails using advanced criteria. If no filters are provided, the latest emails are returned.
Send DraftSend an existing draft email by its ID.Yes
Send EmailSend an email through a Gmail accountYes
Stop WatchStop push notifications on the mailbox.
Trash MessageMove an email message to Trash.Yes
Untrash MessageRestore an email message from Trash.Yes
Update DraftReplace the content of an existing draft email.Yes
Update LabelRename, 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

← All apps