Gmail Nexviahub icon

Gmail Nexviahub

Consume the Gmail API

Thread → Get

AI-generated

Summary

Fetches a Gmail thread by its ID and returns either its messages or a simplified thread response, depending on the selected options.

Inputs

  • Client ID (required) — Google OAuth client ID.
  • Client Secret (required) — Google OAuth client secret.
  • Refresh Token (required) — Refresh token used to obtain an access token dynamically.
  • Access Token (required) — Access token supplied for authentication.
  • Authentication (required) — Choose OAuth2 or Service Account authentication.
  • Thread ID (required) — ID of the Gmail thread to retrieve.
  • Simplify — Defaults to true; controls whether the response is simplified instead of returning raw data.
  • Return Only Messages — Defaults to true; controls whether the output contains only the thread's messages.

Output shape

A list of items representing the retrieved thread or its messages.

The output form depends on Simplify and Return Only Messages. The default settings request simplified output containing only messages.

Links

Discussion