Save all attachments
Save the attachments of every email of a folder that the filters find (G5).
Command in the Exchange (EWS) toolkit · id ooa.exchange/save_all_attachments · 11 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. |
| Target folder | File | Yes | Folder to save into. | |
| Name pattern | String | No | * | Only names matching this pattern, e.g. *.pdf. |
| Overwrite | Boolean | No | false | Replace files of the same name instead of adding a number. |
Outputs
| Output | Type | What it is |
|---|---|---|
| files | List | Saved file paths. |