Gmail - New email trigger

The New email 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

Input fieldsDescription
When first started, this recipe should pick up events fromEnter the time from which the recipe picks up events from. The trigger processes emails created after this time. If left blank, the trigger picks up emails created one hour before the first time this recipe starts. Refer to Triggers to learn more about this input field.
Trigger poll intervalEnter the trigger poll interval to determine how frequently to check for new events. Defaults to five minutes if left blank. Minimum value allowed is five minutes.
LabelSpecify the labels you plan to fetch emails associated with. All emails are fetched if left blank.
Include spam and trashSelect to include emails from spam and trash in the results. Defaults to No if left blank.

Output

The output datatree contains information about the email.

Output fieldDescription
IDThe unique ID for the email.
Thread IDThe ID of the email thread.
SubjectThe subject of the email.
SnippetThe snippet of the email.
Body as plain textThe body of the email as plain text.
Body as HTMLThe body of the email as HTML.
From emailThe email address of the sender.
Label IDsThe IDs of the labels attached to the email.
To emailsThe email addresses of the recipients.
Cc emailsThe email addresses of the cc recipients.
Received timeThe time the email was received.
AttachmentsThe attachments of the email.

Last updated: