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 |
|---|---|---|---|
labels | dropdown | Required | Mail labels to monitor (loaded dynamically from the Gmail mailbox). |
from | array of text | Optional | Filter emails from specific email addresses |
to | array of text | Optional | Filter emails sent to specific email addresses |
subjectContains | array of text | Optional | Filter emails with subject containing specific text |
bodyContains | array of text | Optional | Filter emails with body containing specific text |
hasAttachment | yes/no | Optional | Filter emails that have attachments |
Outputs
| Name | Type | Description |
|---|---|---|
tenantIntegrationId | text | The integration used to execute this trigger |
messageId | text | Unique identifier for the Gmail message |
label_ids | array of text | IDs of the labels applied to the message |
label_names | array of text | Display names of the labels applied to the message |
threadId | text | Conversation or thread identifier |
timestamp | date-time | When the email was received |
from | text | Sender email address |
to | array of text | Recipient list |
subject | text | Email subject |
snippet | text | Short preview of the email body |
body | text | Full email body content |
replyTo | text | Reply-to address |
attachments | attachments | List of attachments |
headers | object | Selected email headers |
messageId | text | Message-Id header value |