Fetch Email
Reads messages from a mailbox onto a list you can loop over.
An action in the Network group.
Its type is action.fetch_mail.
Declared ports
Section titled “Declared ports”| Port | Label | Flow | Type |
|---|---|---|---|
in |
in | execution in | — |
out |
out | execution out | — |
folder |
Folder | data in | String |
fromContains |
From contains | data in | String |
subjectContains |
Subject contains | data in | String |
messages |
Messages | data out | List of 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 |
| Only unread | unreadOnly |
true |
— |
| From contains | fromContains |
— | — |
| Subject contains | subjectContains |
— | — |
| How many at most | limit |
10 |
— |