Skip to main content

Gmail

Full Gmail API integration for managing emails, drafts, labels, threads, and attachments. Supports sending, replying, listing, and searching emails with Gmail search query syntax. Provides draft lifecycle management (create, list, send, delete), label CRUD operations with visibility controls, and threaded conversation retrieval. Downloads attachments to local files. All nodes accept either a shared connection via Connect node or direct per-node credentials. Authenticates via OAuth2 (personal Gmail with browser authorization flow) or Google Service Account (workspace accounts with domain-wide delegation and user impersonation). Emails support both plain text and HTML content.

NamespaceRobomotion.Gmail
Version1.1.0
CategoryCommunication, Productivity
Nodes26

Nodes

NodeDescription
ConnectOpens a connection to Gmail and returns a Client ID.
DisconnectCloses a Gmail connection.
Send EmailSends an email in Gmail.
Get EmailGets an email in Gmail.
List EmailsLists emails in Gmail.
Reply to EmailReply to Email — see the properties below.
Delete EmailDeletes an email in Gmail.
Trash EmailTrash Email — see the properties below.
Untrash EmailUntrash Email — see the properties below.
Mark as ReadMark as Read — see the properties below.
Mark as UnreadMark as Unread — see the properties below.
Add LabelAdds a label in Gmail.
Remove LabelRemoves a label in Gmail.
Archive EmailArchives an email in Gmail.
Create LabelCreates a label in Gmail.
List LabelsLists labels in Gmail.
Get LabelGets a label in Gmail.
Delete LabelDeletes a label in Gmail.
Create DraftCreates a draft in Gmail.
Send DraftSends a draft in Gmail.
List DraftsLists drafts in Gmail.
Delete DraftDeletes a draft in Gmail.
Get ThreadGets a thread in Gmail.
List ThreadsLists threads in Gmail.
Download AttachmentDownloads an attachment in Gmail.
ToolkitExposes this package's operations to an AI Agent as a single tool.

Connecting

This package has a Connect node. Run it once at the start of your flow; it returns a Client ID that the other nodes take as input. Pair it with Disconnect so the connection is released when the flow ends.

Credentials belong in a Vault rather than typed into the node.

AI Agent tools

25 of these nodes are exposed as tools an AI Agent can call directly: Connect, Disconnect, Send Email, Get Email, List Emails, Reply to Email, Delete Email, Trash Email, Untrash Email, Mark as Read, Mark as Unread, Add Label, Remove Label, Archive Email, Create Label, List Labels, Get Label, Delete Label, Create Draft, Send Draft, List Drafts, Delete Draft, Get Thread, List Threads, Download Attachment.

About this page

Generated from the package spec that the Flow Designer itself loads, so the node list and every property below match the version above exactly.

It does not yet include worked examples or service-specific guidance — those are written by hand, and a plausible-sounding guess in a reference page is worse than an honest gap. If you build something useful with this package, the community is the place to share it.