Read Email

Read a message received in Gmail. Pair this action card with an earlier event or action.

Unless otherwise indicated, field types are text.

Note

Senders and recipients are formatted as Name <email@email.com>.

Input

Field Definition Type Required
Read
Message ID Unique ID of the message String TRUE

Output

Field Definition Type
Email
Thread Id Unique ID of the message thread (new, non-threaded messages have the same message and thread IDs) String
Subject Subject heading of the message String
Text Body Text in the body of the message String
HTML Body HTML formatted body of the message String
To Recipient of the email String
From Sender of the email String
CC List of carbon copied recipients List of Text
Attachment IDs List of unique IDs of the email attachments List of Objects
filename Name of the attachment String
attachmentID Unique ID of the attachment String
messageID Message ID of the email (see above) String
type file type (for example, .png or .jpeg) String
Labels List of categories attributed to the message (for example, Unread, or Important) String

Related topics

Gmail connector

About the elements of Okta Workflows

Gmail API documentation