Gmail
Send Gmail or trigger workflows from Gmail events
Configuration
Send Email
Operation
Send Email
Gmail Account*
Select Gmail account
To*
Recipient email address
Subject*
Email subject
Body*
Email content
Attachments
Upload files to attach
Attachments
Reference files from previous blocks
CC
CC recipients (comma-separated)
BCC
BCC recipients (comma-separated)
Send Email (
gmail_send)Send emails using Gmail
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
to | string | Yes | Recipient email address |
subject | string | No | Email subject |
body | string | Yes | Email body content |
contentType | string | No | Content type for the email body (text or html) |
threadId | string | No | Thread ID to reply to (for threading) |
replyToMessageId | string | No | Gmail message ID to reply to - use the "id" field from Gmail Read results (not the RFC "messageId") |
cc | string | No | CC recipients (comma-separated) |
bcc | string | No | BCC recipients (comma-separated) |
attachments | file[] | No | Files to attach to the email |
Output
| Parameter | Type | Description |
|---|---|---|
content | string | Success message |
id | string | Gmail message ID |
threadId | string | Gmail thread ID |
items | string | items output |
Read Email
Operation
Read Email
Gmail Account*
Select Gmail account
Label
Select Gmail label/folder
Label/Folder
Enter Gmail label name (e.g., INBOX, SENT, or custom label)
Unread Only
Disabled
Include Attachments
Disabled
Message ID
Enter message ID to read (optional)
Max Results
Maximum number of results (default: 10)
Read Email (
gmail_read)Read emails from Gmail
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
messageId | string | No | ID of the message to read |
folder | string | No | Folder/label to read emails from |
unreadOnly | boolean | No | Only retrieve unread messages |
maxResults | number | No | Maximum number of messages to retrieve (default: 1, max: 10) |
includeAttachments | boolean | No | Download and include email attachments |
Output
| Parameter | Type | Description |
|---|---|---|
content | string | Text content of the email |
metadata | json | Metadata of the email |
Draft Email
Operation
Draft Email
Gmail Account*
Select Gmail account
To*
Recipient email address
Subject*
Email subject
Body*
Email content
Attachments
Upload files to attach
Attachments
Reference files from previous blocks
CC
CC recipients (comma-separated)
BCC
BCC recipients (comma-separated)
Draft Email (
gmail_draft)Draft emails using Gmail
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
to | string | Yes | Recipient email address |
subject | string | No | Email subject |
body | string | Yes | Email body content |
contentType | string | No | Content type for the email body (text or html) |
threadId | string | No | Thread ID to reply to (for threading) |
replyToMessageId | string | No | Gmail message ID to reply to - use the "id" field from Gmail Read results (not the RFC "messageId") |
cc | string | No | CC recipients (comma-separated) |
bcc | string | No | BCC recipients (comma-separated) |
attachments | file[] | No | Files to attach to the email draft |
Output
| Parameter | Type | Description |
|---|---|---|
content | string | Success message |
id | string | Gmail message ID |
threadId | string | Gmail thread ID |
items | string | items output |
Search Email
Operation
Search Email
Gmail Account*
Select Gmail account
Search Query*
Enter search terms
Max Results
Maximum number of results (default: 10)
Search Email (
gmail_search)Search emails in Gmail
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Search query for emails |
maxResults | number | No | Maximum number of results to return |
Output
| Parameter | Type | Description |
|---|---|---|
content | string | Search results summary |
id | string | Gmail message ID |
threadId | string | Gmail thread ID |
subject | string | Email subject |
from | string | Sender email address |
date | string | Email date |
Usage Instructions
Integrate Gmail into the workflow. Can send, read, and search emails. Can be used in trigger mode to trigger a workflow when a new email is received.
Notes
- Category:
tools - Type:
gmail