Gmail Nexviahub icon

Gmail Nexviahub

Consume the Gmail API

Message → Get

AI-generated

Summary

Fetches a Gmail message by its Message ID and returns either a simplified message or the raw response. With raw output, you can optionally download attachments into binary properties.

Inputs

  • Client ID, Client Secret, Refresh Token, Access Token, Authentication (required) — Authentication fields declared by the operation. Authentication defaults to OAuth2; the selector also offers Service Account.
  • Message ID (required) — ID of the Gmail message to retrieve.
  • Simplify — Defaults to true and returns a simplified response. When disabled, returns the raw response and exposes the Options fields.
  • Download Attachments — Available with Simplify disabled; defaults to false. When enabled, includes downloaded attachments in the output.
  • Attachment Prefix — Available with Simplify disabled. Defaults to attachment_; downloaded attachments are stored in binary properties named with this prefix and a zero-based index.

Output shape

A single message item.

The output is simplified by default; with Simplify disabled, it contains the raw Gmail response. If attachment downloading is enabled, attachment binary data is included under prefixed binary property names.

Links

Discussion