# New email trigger

This trigger picks up new emails in your Gmail account. It performs a single check for new emails for each poll interval. Workato processes each email as a separate job.

# Input fields

Input fields Description
When first started, this recipe should pick up events from Emails created after this time are processed by the trigger. If left blank, the trigger picks up emails created one hour before the first time this recipe starts. Learn more about this input field.
Trigger poll interval Determine how frequently to check for new events. Defaults to five minutes if left blank. Minimum value allowed is five minutes.
Label Fetch only emails with labels you specify. All emails are fetched if left blank.
Include spam and trash Include emails from spam and trash in the results. Defaults to No if left blank.

# Output fields

The output datatree contains information about the email (opens new window).

Field Description
ID The unique ID for the email.
Thread ID The ID of the email thread.
Subject The subject of the email.
Snippet The snippet of the email.
Body as plain text The body of the email as plain text.
Body as HTML The body of the email as HTML.
From email The email address of the sender.
Label IDs The IDs of the labels attached to the email.
To emails The email addresses of the recipients.
Cc emails The email addresses of the cc recipients.
Received time The time the email was received.
Attachments The attachments of the email.


Last updated: 8/28/2024, 8:43:06 PM