Find emails
List the newest emails in an Outlook folder, optionally only unread ones, by subject, by sender or received after a date.
Command in the Outlook desktop toolkit · id ooa.outlook_desktop/list · 10 inputs, 3 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. |
| 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. | |
| Timeout (seconds) | Number | No | 120 | Maximum time. |
| 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). |
Outputs
| Output | Type | What it is |
|---|---|---|
| emails | List | Emails, newest first: id, subject, from, from_name, to, received, unread, attachments, folder. |
| count | Number | How many were found. |
| table | Table | The same emails as a table, as the other mail services give it: id, from, subject, received, unread, has_attachments. |