New Email

Trigger a flow when you receive a new email. For more information, refer to Gmail's documentation.

Note

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

Output

Field Definition Type
Email
Message ID Unique ID of the message String
Thread ID Unique ID of the message thread (new, non-threaded messages have the same message and thread IDs) String
To Recipient of the email String
From Sender of the email String
Text Body Text in the body of the message String
HTML Body HTML formatted body of the message String
CC List of carbon copied recipients List of Text
BCC List of blind carbon copied recipients List of Objects
Labels List of categories attributed to the message (for example, Unread, Important, or Category_Personal) List of Text
Attachment IDs List of unique IDs of the email attachments List of Objects
Context
Execution ID Unique ID of the flow instance String

Related topics

Gmail connector

About the elements of Okta Workflows

Gmail API documentation