Email Received
Starts when an email arrives in a mailbox you are watching.
A trigger in the Messaging group.
Its type is trigger.mail.
Declared ports
Section titled “Declared ports”| Port | Label | Flow | Type |
|---|---|---|---|
out |
out | execution out | — |
mail |
data out | Object{ref: String, from: String, fromName: String, to: String, subject: String, body: String, bodyTruncated: Boolean, unread: Boolean, hasAttachments: Boolean, folder: String, accountId: String, receivedAt: DateTime} |
Configuration
Section titled “Configuration”| Field | Key | Default | Notes |
|---|---|---|---|
| Account | accountId |
— | chosen from MAIL_ACCOUNT |
| Folder | folder |
INBOX |
chosen from MAIL_FOLDER |
| From contains | fromContains |
— | — |
| Subject contains | subjectContains |
— | — |
| Only unread | unreadOnly |
true |
— |
| How to watch | mode |
AUTOMATIC |
AUTOMATIC, POLL |
| Check every | intervalMinutes |
15 |
minutes, minimum 15; shown when mode is POLL |