Retrieve an email.
Application
Gmail
Inputs (what you have)
Name | Description | Data Type | Required? | Example |
Gmail credentials | The connected account to use for the request | Connected Account | Yes |
|
Message ID | Gmail's unique ID for the sent message. Example: 17c5ac1d6b1d84c3 | Text (Short) | Yes | 17c5ac1d6b1d84c3 |
Email address | The email address you would like to search in. Defaults to ‘me’ | No | ||
Format | The email content you would like to return | Text (Short) | No | Full |
Raw message? | Retrieve the entire email message in an RFC 2822 formatted and base64url encoded string? | True/False | No | true |
Outputs (what you get)
Name | Description | Data Type | Required? | Example |
Gmail message ID | Gmail's unique ID for the sent message | Text (Short) | No | 17c5ac1d6b1d84c3 |
Timestamp | Exact time the message was sent in | Datetime | No |
|
Gmail thread ID | Gmail conversation thread ID | Text (Short) | No |
|
Label IDs | List of IDs of labels applied to this message | Text (Long) | No | ["SENT", "IMPORTANT"] |
Email snippet | A short part of the message text, used for preview or quick reference | Text (Long) | No | Hi team, here's the update... |
History ID | The ID of the last history record that modified this message | Text (Short) | No | 6543210 |
Size estimate | Estimated size in bytes of the message | Number | No | 1024 |
Raw message | If raw is selected, the entire email message in RFC 2822 format and base64url-encoded string | Text (Long) | No | QmFzZTY0ZW5jb2RlZCBib2R5... |
From | Sender's email address | No | ||
To | Comma-separated list of recipients | Text (Long) | No | |
CC | Comma-separated list of carbon copy recipients | Text (Long) | No | |
Bcc | Comma-separated list of blind carbon copy recipients | Text (Long) | No | |
Subject | Subject line of the email | Text (Long) | No | Weekly Sync Update |
Date | Date and time from the "Date" header | Datetime | No | Mon, 21 Apr 2025 10:33:00 -0400 |
Message as text | Body of the email in plain text format | Text (Long) | No | Hi team, here’s the update... |
Message as HTML | Body of the email in HTML format | Text (Long) | No | Hi team, here’s... |
Has attachments? | Indicates if the message has any file attachments | True/False | No | true |
Outcomes
Name | Description |
Success | This status is selected if the job has successfully completed. |
Requirements
N/A