Integrations
Gmail
6 actions for Gmail.
Add Label to Email#
Add a label to an email in Gmail. The email will be updated with the specified label.
Plans: Trial, Pro, Premium, Enterprise · Type: GmailAddLabel
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Email ID | Text | No | (empty) | Email ID to add label to. |
| Label Name | Text | No | {input} | Label Name to be added to the email. |
| Create Label | Yes/No | No | Off | If the label does not exist, create it. |
Outputs#
| Output | Type |
|---|---|
| Output | Object |
Use as an agent tool#
Tool name: gmail_add_label
Add a label (by name) to a Gmail email.
Send Email#
Create a new email in Gmail. The email will be sent to the specified recipient.
Plans: Trial, Pro, Premium, Enterprise · Type: GmailCreateEmail
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Body | Text | No | {input} | The body of the email. |
| Subject | Text | No | (empty) | The subject of the email. |
| Recipient | Text | No | (empty) | The recipient of the email. |
| CC | Text | No | (empty) | The CC of the email. |
| BCC | Text | No | (empty) | The BCC of the email. |
| Draft | Yes/No | No | Off | Whether to save the email as a draft. The email will not be sent. |
| Reply | Yes/No | No | Off | Whether to send the email as a reply. |
| Include Attachments | Yes/No | No | Off | When enabled, files uploaded to this flow session will be attached to the email. |
| Attachment file name | Text | No | — | Comma-separated file names if the attachment was generated by the Agent. |
Outputs#
| Output | Type |
|---|---|
| Output | Object |
Use as an agent tool#
Tool name: gmail_send_email
Send a new email via Gmail.
Find Email By ID#
Get an email by its ID. The email will be returned as a message.
Plans: Trial, Pro, Premium, Enterprise · Type: GmailFindEmail
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Email ID | Text | No | (empty) | Email ID to search for. |
Outputs#
| Output | Type |
|---|---|
| Output | Object |
Use as an agent tool#
Tool name: gmail_find_email
Get a Gmail email by its ID.
List Labels#
List all labels in Gmail (both system labels like INBOX/SENT and user-created labels). Returns each label’s id, name, type, and visibility.
Plans: Trial, Pro, Premium, Enterprise · Type: GmailListLabels
Outputs#
| Output | Type |
|---|---|
| Output | Object |
Use as an agent tool#
Tool name: gmail_list_labels
List Gmail labels. Call before gmail_add_label / gmail_remove_label to discover available label names.
Remove Label From Email#
Remove a label from an email in Gmail. The email will be updated to remove the specified label.
Plans: Trial, Pro, Premium, Enterprise · Type: GmailRemoveLabel
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Email ID | Text | No | (empty) | Email ID to remove label from. |
| Label Name | Text | No | (empty) | Label Name to be removed from the email. |
Outputs#
| Output | Type |
|---|---|
| Output | Object |
Use as an agent tool#
Tool name: gmail_remove_label
Remove a label (by name) from a Gmail email.
Search Emails#
Search for emails in Gmail. The search will return a list of emails that match the specified criteria.
Plans: Trial, Pro, Premium, Enterprise · Type: GmailSearchEmails
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Criteria | Text | No | (empty) | The criteria to search for emails. |
| Max Results | Number | No | 10 | The maximum number of results to return. |
Outputs#
| Output | Type |
|---|---|
| Output | Object |
Use as an agent tool#
Tool name: gmail_search_emails
Search Gmail emails by query. Returns message_ids — pass each to gmail_find_email to read content.