Skip to content

Wait for new email

Gmail

Gmail

Wait for new email

Wait for a new mailbox message, optionally filtered by label.

Trigger

Inputs

Name Type Required Description
labelsdropdownRequiredMail labels to monitor (loaded dynamically from the Gmail mailbox).
fromarray of textOptionalFilter emails from specific email addresses
toarray of textOptionalFilter emails sent to specific email addresses
subjectContainsarray of textOptionalFilter emails with subject containing specific text
bodyContainsarray of textOptionalFilter emails with body containing specific text
hasAttachmentyes/noOptionalFilter emails that have attachments

Outputs

Name Type Description
tenantIntegrationIdtextThe integration used to execute this trigger
messageIdtextUnique identifier for the Gmail message
label_idsarray of textIDs of the labels applied to the message
label_namesarray of textDisplay names of the labels applied to the message
threadIdtextConversation or thread identifier
timestampdate-timeWhen the email was received
fromtextSender email address
toarray of textRecipient list
subjecttextEmail subject
snippettextShort preview of the email body
bodytextFull email body content
replyTotextReply-to address
attachmentsattachmentsList of attachments
headersobjectSelected email headers
messageIdtextMessage-Id header value