bulk_move
Move multiple emails to a target folder at once using explicit IDs or search criteria, with dry-run preview to avoid mistakes.
Instructions
Move multiple emails to a target folder in one IMAP pass. Accepts either explicit emailIds[] or a match criteria object (XOR). Supports dryRun to preview. For single-message moves use move_email.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emailIds | No | Explicit email IDs (FOLDER::UID format). XOR with match. | |
| match | No | Search criteria to select messages. XOR with emailIds. | |
| folder | No | Source folder (required when using match). | |
| targetFolder | Yes | Destination folder. | |
| dryRun | No | Preview without moving. | |
| maxBatchSize | No | Maximum number of messages to process. Defaults to 500. Use to prevent runaway operations. |