Each email in an Outlook folder
Go through the emails matching the Find emails filters, one per turn: id, subject, from, from_name, to, received, unread, attachments, folder, or the whole email.
Loop type in the Outlook desktop toolkit · id ooa.outlook_desktop/emails · 11 inputs, no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Folder | String | No | Inbox | Folder path: Inbox, Sent Items, Drafts, or a folder below them, e.g. Inbox/Invoices. |
| Unread only | Boolean | No | false | Only unread emails. |
| Subject contains | String | No | Only emails whose subject contains this text. | |
| From contains | String | No | Only emails whose sender address or name contains this text. | |
| Received after | DateTime | No | Only emails received after this date and time. | |
| Largest value | Number | No | 50 | At most this many emails. |
| With body | Boolean | No | false | Give each email whole: text, HTML, recipients and attachment names (one more request per email); the email stays unread. Without it each email has id, from, subject, received, unread and has_attachments. |
| Mailbox | String | No | Another mailbox open in the runner's Outlook profile (its name or address), e.g. a shared mailbox; empty for the user's own. | |
| Received before | DateTime | No | Only emails received before this date and time (G3). | |
| With attachments only | Boolean | No | false | Only emails that have attachments (G3). |
| Read state | String | No | all | All emails, only unread ones or only read ones (G3); unread_only still works. |