Gmail Get Message Tool

The Gmail – Get Message Tool enables your agent to retrieve a specific email message using its message ID. This tool is useful for processing or analyzing email content programmatically and supports extraction of the thread ID, subject, body, snippet, and sender details. It is typically used in workflows that involve automated email handling, classification, or escalation.

Field Description
*Indicates mandatory field
Name* A unique, user-defined name for this tool instance. Used by the agent to reference the tool during execution.
Description* Explains the purpose of this tool instance. Helps clarify its function within the agent’s workflow. Example: Use this tool to fetch customer emails for sentiment analysis.
Delegated User Email* The Gmail address of the user whose mailbox the agent will access. Required when using delegated access to retrieve the message. Example: user@yourcompany.com
Credentials to connect with*

Select the Gmail Service Account credential that provides authorized access to retrieve messages via the Gmail API. The credential must include the https://www.googleapis.com/auth/gmail.readonly or gmail.readonly scope.

Note: Refer to the Adding a Credential section for steps to configure this.