bulk_move_by_domain
Move all emails from a specific sender domain to a designated folder in iCloud Mail. Use this tool to organize emails by domain for better inbox management.
Instructions
Move all emails from a specific domain to a folder. Convenience wrapper around bulk_move with a domain filter.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain": "<domain>",
"targetMailbox": "<targetMailbox>"
},
"name": "bulk_move_by_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Sender domain to match (e.g. github.com, substack.com) | |
| dryRun | No | Preview only — return count without moving | |
| sourceMailbox | No | Source mailbox (default INBOX) | |
| targetMailbox | Yes | Destination folder |