Get Email
Load one Gmail message by id with headers, body, and attachment metadata.
Type
google.gmail.get_emailListed only when a matching connected service is enabled.
Get Email loads one message from the connected Gmail mailbox. Pass the Gmail message id (not the Message-ID header). List Emails and Mail Received both provide that id.
Attachment entries are metadata only (filename, type, size, attachment id). Use Get Attachment to download a file into workspace storage.
Configure
| Setting | Description |
|---|---|
| Message ID | Gmail message id (required) |
Handles
| Handle | Role |
|---|---|
| In (target) | Incoming connection |
| Out (source) | Continues after the message is loaded |
Pipe schema
The next block reads this on the data pipe (pipe.value):
| Key | Type | Description |
|---|---|---|
id | text | Gmail message id |
threadId | text | Thread id |
labelIds | list | Message labels |
snippet | text | Short preview |
internalDate | text | Internal date |
subject | text | Subject |
from.name / from.email | text | From |
to[] | list | To addresses (name, email) |
cc[] | list | Cc addresses (name, email) |
bcc[] | list | Bcc addresses (name, email) |
replyTo.name / replyTo.email | text | Reply-To |
messageId | text | Message-ID header |
inReplyTo | text | In-Reply-To header |
references | text | References header |
isReply | boolean | Whether the message is a reply |
dateHeader | text | Date header |
textPlain | text | Plain-text body |
textHtml | text | HTML body |
textParsed | text | Parsed body |
attachments[] | list | Attachment metadata (filename, mimeType, size, attachmentId) |
Use case
- After List Emails, loop with For Of and load each message’s body.
- In a Mail Received workflow,
args.messagealready has this shape — use this block when you only have an id from a later step.