Skip to content

Get Email Content

Gmail

Gmail

Get Email Content

Load the full body, file attachments (base64), and metadata for an email by Gmail message ID.

ActionAI Tool

Inputs

Name Type Required Description
messageIdtextRequiredThe Gmail message ID of the email

Outputs

Name Type Description
tenantIntegrationIdtextThe integration used to execute this action
emailobjectThe email content, metadata, and attachments
messageIdtextThe message ID of the email
threadIdtextThe thread ID of the email
subjecttextThe subject of the email
contenttextThe content of the email
contentTypeselectThe content type of the email (options: Text, HTML)
fromtextThe sender of the email
toarray of objectThe recipients of the email
emailAddresstextThe email address of the recipient
nametextThe name of the recipient
attachmentsattachmentsFile attachments on the message (base64, filename, mimeType, inline vs attachment)