Move all matching emails
Move every email in one or more folders that matches the filters to another folder.
Command in the Email toolkit · id ooa.email/move_all · 13 inputs (1 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| To folder | String | Yes | Destination folder. | |
| Folder | String | No | INBOX | Current folder; several separated by ; and * for any text, e.g. INBOX; Invoices/*. |
| Unread only | Boolean | No | false | Older steps: only unread emails. New steps choose the status instead. |
| From contains | String | No | Sender contains this text; separate several with ; to match any of them. | |
| Subject contains | String | No | Subject contains this text; in double quotes ("Invoice 7") the whole subject must be exactly that; separate several with ; to match any of them. | |
| Since | DateTime | No | Received on or after this date. | |
| Before | DateTime | No | Received before this date. | |
| Read only | Boolean | No | false | Older steps: only emails already read. New steps choose the status instead. |
| To contains | String | No | A To recipient contains this text. | |
| Body contains | String | No | The body contains this text (searched by the server). | |
| Create folder | Boolean | No | false | Create the destination folder when it does not exist. |
| Session | String | No | mail | Session name of the open mailbox. |
| Status | String | No | any | Which emails: any, only unread or only read. |
Outputs
| Output | Type | What it is |
|---|---|---|
| count | Number | Number of emails moved. |