Move all emails
Move every email of a folder that the filters find to another folder (G5).
Command in the Exchange (EWS) toolkit · id ooa.exchange/move_all · 10 inputs (1 required), 1 output
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. |
| Status | String | No | any | Which emails: any, only unread or only read. |
| 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). | |
| Before | DateTime | No | Received before this time (UTC). | |
| Maximum results | Number | No | 500 | At most this many emails. |
| Session | String | No | exchange | Session name of the open Exchange mailbox. |
| To folder | String | Yes | Destination: a well-known name, a path such as Inbox/Processed, or a folder id. | |
| Create folder | Boolean | No | false | Create the destination when it does not exist. |
Outputs
| Output | Type | What it is |
|---|---|---|
| new_ids | List | The moved emails' new ids. |