Gmail nodes

The 6 workflow nodes in Gmail: what each does, its inputs and outputs, and its settings.

Updated in Intuidy 2026.11.216 min read

Nodes marked Needs a connected account run only after you connect that service.

NodeDoes
Create Draft EmailTransforms or writes data
Get Gmail AttachmentsTransforms or writes data
Modify Gmail LabelsTransforms or writes data
Read EmailReads data
Read EmailsReads data
Send Email (Gmail)Ends a branch

Create Draft Email

Transforms or writes data · Needs a connected account · Type in the API: gmail/createDraft

Leave a message in the user's Drafts folder for a human to send, instead of sending it.

InputsOutputs
11
SettingTypeDefaultDescription
Bccstring——
Bodystring——
Ccstring——
Body is HTMLbooleanfalse—
Subjectstring——
Reply inside threadstring—A Gmail thread ID. Blank starts a new thread.
Tostring—Comma-separated. May be blank on a draft.

Get Gmail Attachments

Transforms or writes data · Needs a connected account · Type in the API: gmail/getAttachments

Download the attachments of the connected messages — one row per file, with the bytes, in the same shape as an uploaded file. Send the rows to PDF Extract or Image Analysis. Needs a Google Workspace connection with Gmail read access.

InputsOutputs
11
SettingTypeDefaultDescription
Max size per file (bytes)number20971520Attachments larger than this are skipped
Max messagesnumber200Upstream rows to process
Message IDstring—Leave blank to use the id column of the connected rows
File typesstring"pdf,image"Comma list of groups (pdf, image, document, spreadsheet, text, email, all) or MIME types

Modify Gmail Labels

Transforms or writes data · Needs a connected account · Type in the API: gmail/modifyLabels

Mark the connected messages read or unread, archive or star them, or add and remove labels — the "processed" marker for an inbox workflow. Needs a Google Workspace connection with Gmail modify access.

InputsOutputs
11
SettingTypeDefaultDescription
ActionOne of: markRead, markUnread, archive, star, unstar, label"markRead"—
Add labelsstring—Label IDs to add, comma-separated (for Add / remove labels)
Continue on errorbooleanfalseKeep going and mark failed rows instead of stopping the run
Message IDstring—Leave blank to use the id column of the connected rows
Remove labelsstring—Label IDs to remove, comma-separated

Read Email

Reads data · Needs a connected account · Type in the API: gmail/readEmail

Fetch one email in full — body and attachment details. Picks the message ID up automatically from a connected Read Emails node.

InputsOutputs
11
SettingTypeDefaultDescription
Trim body to (characters)number00 keeps the whole body.
Include attachment detailsbooleantrue—
Message IDstring—Leave blank to use the id column from the connected node.
Which upstream rownumber00 = first row, -1 = last row.

Read Emails

Reads data · Needs a connected account · Type in the API: gmail/readEmails

Search a Gmail mailbox — by sender, subject, keywords, labels, attachments and date range — and output one row per email.

InputsOutputs
11
SettingTypeDefaultDescription
Trim body to (characters)number0—
Receivedstring"last_30_days"Gmail searches by calendar day in the timezone below.
Custom endstring——
Skip chat messagesbooleantrue—
Exclude wordsstring——
Attachment filename containsstring——
Fromstring—Comma-separated senders; any match.
Has an attachmentbooleanfalse—
Marked important onlybooleanfalse—
List attachment detailsbooleanfalse—
Include the message bodybooleanfalse—
Keywordsstring—Matches subject and body.
Labelsarray—Emails must carry every label selected.
How many emailsnumber251–500.
Larger than (MB)number0—
Gmail querystring—Exactly what you'd type in Gmail's search box.
Read stateOne of: any, unread, read"any"—
Search modeOne of: simple, advanced"simple"—
Order rowsOne of: newest, oldest"newest"—
Starred onlybooleanfalse—
Custom startstring——
Subject containsstring——
Timezonestring—IANA name, e.g. America/Chicago. Blank = UTC.
Tostring——

Send Email (Gmail)

Ends a branch · Needs a connected account · Type in the API: gmail/sendEmail

Send an email from the connected Gmail account. Compose messages with a recipient, subject, and body.

InputsOutputs
11
SettingTypeDefaultDescription
BCCstring—BCC recipients, comma-separated (optional)
Bodystring—Email body text or HTML
CCstring—CC recipients, comma-separated (optional)
HTML BodybooleanfalseTreat the body as HTML instead of plain text
Subjectstring—Email subject line
Tostring—Recipient email address(es), comma-separated