
Parameters
How far back to fetch messages from your Gmail inbox.
Credentials
Select a Google OAuth Credential with the API access and scopes needed by this node.
Inputs
Inputs are ignored; the
input port is only for graph connectivity.Outputs
One output item per Gmail message in the time window. Each item is a JSON object with message metadata and the best-available body content.Each message object includes the following fields:
| Field | Description |
|---|---|
id | Gmail message ID. |
thread_id | Gmail thread ID. |
label_ids | Array of label IDs applied to the message. |
snippet | Gmail-provided snippet. |
size_estimate | Estimated message size in bytes. |
internal_timestamp_ms | Internal Gmail timestamp in milliseconds since epoch (UTC). |
internal_date | Internal Gmail timestamp in ISO 8601 (UTC). |
from | Sender address from message headers. |
to | Recipient addresses from message headers. |
cc | CC addresses from message headers. |
bcc | BCC addresses from message headers. |
subject | Subject line from message headers. |
date | Date header value. |
reply_to | Reply-To header value. |
message_id | Message-Id header value. |
body | Best-available message body content. |
body_mime_type | MIME type of the selected body (text/plain or text/html). |

