Each email in an Exchange folder
Yield each email matching the Find emails filters as a dictionary: id, from, subject, received, unread, has_attachments.
Loop type in the Exchange (EWS) toolkit · id ooa.exchange/emails · 13 inputs, no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Folder | String | No | inbox | Folder: a well-known name (inbox, sentitems, deleteditems, drafts, junkemail, archive), a path such as Inbox/Invoices, or a folder id. |
| Unread only | Boolean | No | false | Only unread emails. |
| From contains | String | No | Sender contains this text; separate several with ; to match any of them. | |
| Subject contains | String | No | Subject contains this text; separate several with ; to match any of them. | |
| Since | DateTime | No | Received on or after this time (UTC). | |
| Maximum results | Number | No | 100 | Stop after this many emails. |
| Session | String | No | exchange | Session name of the open Exchange mailbox. |
| Before | DateTime | No | Received before this time (UTC). | |
| Read only | Boolean | No | false | Only emails already read. |
| Has attachments only | Boolean | No | false | Only emails that have attachments. |
| Oldest first | Boolean | No | false | The oldest emails first instead of the newest. |
| Body contains | String | No | Body contains this text (searched by the server); separate several with ; to match any of them. | |
| 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. |