Copy new mail now
resync_moveFor a move that is done, attention or stopped (move_status: can_resync): copies the mail that arrived in the old mailbox since (for a stopped move: the rest of the copy, then new mail is copied for follow_days as after any move), with the stored passwords. Only adds messages to the new mailbox: nothing there is changed or deleted, messages copied before are not copied twice, and for a finished move folders the user deleted there are not filled again. Typical use: the user switched the address (MX records) after the copy or its follow-up ended. Optional follow_days keeps copying new mail afterwards for that many days. If a stored password is not accepted any more (e.g. the app password was deleted), the answer says so (needs_passwords): ask the user and call again with old_password / new_password. Then follow it with move_status (wait_seconds) until resyncing is false (for a stopped move: until status is done, attention, failed or stopped), and tell the user the summary.
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": {
"token": "<token>"
},
"name": "resync_move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The token returned by start_move. | |
| follow_days | No | Optional: afterwards keep copying new mail for this many days (0 = off). | |
| new_password | No | Only if the answer asked for it: the new mailbox's password (moves with one mailbox). | |
| old_password | No | Only if the answer asked for it: the old mailbox's password (moves with one mailbox). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||