Koskamo

mail2mail.link MCP

An MCP server that allows AI agents to autonomously copy email folders and messages from an old mailbox to a new one via IMAP, JMAP, or POP3. It supports starting moves, checking status, retrying failures, and canceling operations without requiring user sign-in or API keys.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

mail2mail.link MCP logo, by mail2mail.linkCommunity listingStreamable HTTPNo sign-inEndpoint checked 2026-11-26Published by mail2mail.link
MCP endpoint (Streamable HTTP)
https://mail2mail.link/mcp
Vendor documentation

What its tools do

7 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

Read-only (1)

7 of 7 have a description · 7 of 7 declare behavior hints · 7 of 7 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Availability 1 of 1 checks passed in 30 days

What you can do with it

  • Copy all email folders and messages from an old account to a new one
  • Check the real-time status of an ongoing email migration
  • Cancel or retry a failed email move operation
  • Discover IMAP server settings for a given email address

Source and maintenance

Community listingRegistry 1.0.0

Protocol and capabilities

Server
mail2mail 1.0.0
MCP protocol negotiated in check
2025-11-25
Tools
7 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

mail2mail.link copies all e-mail from one mailbox to another (IMAP, JMAP, POP3), free with fair use. Typical flow: start_move with the addresses and passwords (after the user accepted the terms); several mailboxes go into one move (mailboxes, up to 50), and several moves can run at the same time. Then move_status (wait_seconds waits for the next change) until the move is done, attention, failed or stopped. Always give the user a page to watch: progress_url for one move, or moves_url from move_status with all tokens for several moves on one page. follow_days (0–30, default 7) sets how long new mail keeps being copied afterwards. If the user keeps the address and only changes provider, ask for the new provider's IMAP server and pass it as new_server.

Tools

7 advertised

find_mail_server — Find mail server
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Looks up the mail server of an e-mail address and tells what the user must do before mail2mail can log in (for example: Gmail and iCloud need an app password, GMX and WEB.DE need IMAP switched on). Optional: start_move looks the servers up by itself. Use it to prepare the user before asking for passwords.

find_mail_server input schema
{
  "type": "object",
  "required": [
    "email"
  ],
  "properties": {
    "email": {
      "type": "string",
      "description": "The e-mail address, e.g. anna@example.com."
    }
  }
}
find_mail_server output schema
{
  "type": "object",
  "anyOf": [
    {
      "type": "object",
      "required": [
        "email",
        "found",
        "microsoft_available"
      ],
      "properties": {
        "help": {
          "type": [
            "object",
            "null"
          ],
          "required": [
            "text"
          ],
          "properties": {
            "url": {
              "type": "string"
            },
            "text": {
              "type": "string"
            },
            "link_text": {
              "type": "string"
            }
          }
        },
        "path": {
          "type": "string"
        },
        "port": {
          "type": "integer"
        },
        "email": {
          "type": "string"
        },
        "found": {
          "type": "boolean"
        },
        "notes": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "server": {
          "type": "string"
        },
        "confirm": {
          "type": "boolean"
        },
        "protocol": {
          "type": "string"
        },
        "provider": {
          "type": "string"
        },
        "security": {
          "type": "string"
        },
        "microsoft": {
          "type": "boolean"
        },
        "microsoft_available": {
          "type": "boolean"
        }
      }
    },
    {
      "type": "object",
      "required": [
        "error"
      ],
      "properties": {
        "rows": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "object",
            "required": [
              "row",
              "problem"
            ],
            "properties": {
              "row": {
                "type": "integer"
              },
              "side": {
                "type": "string"
              },
              "problem": {
                "type": "string"
              },
              "provider": {
                "type": "string"
              }
            }
          }
        },
        "error": {
          "type": "string"
        },
        "damaged": {
          "type": "boolean"
        },
        "needs_passwords": {
          "type": "boolean"
        }
      }
    }
  ]
}
find_mail_server annotations
{
  "title": "Find mail server",
  "readOnlyHint": true,
  "openWorldHint": true
}
start_move — Start a mailbox move
Advertised by the server during the last successful anonymous check.
Open-world

Copies all e-mail (every folder) from old mailboxes to new ones: one mailbox, or up to 50 in one move (mailboxes), e.g. a whole team or company. Nothing is deleted or changed in the old mailboxes; messages already in a new mailbox are not copied twice. mail2mail first logs in to every mailbox and counts the messages, then copies by itself (several mailboxes at the same time) and checks that every message arrived. Afterwards it keeps copying new mail for follow_days (default 7), because mail still reaches the old mailbox until the switch of the address (MX records) has spread; this only adds messages to the new mailbox and never changes or deletes anything there. The passwords are stored encrypted so that only the move's token (its private link) can unlock them, for resync_move; they are deleted with the move (forget_move, or 30 days after its last activity). While the copy, the follow-up or a resync_move runs, the server can read the mail and use the passwords. So recommend app passwords where the provider offers them: they can be revoked at any time. Before calling, show the user the terms (https://mail2mail.link/terms) and the privacy notice (https://mail2mail.link/privacy), and get their OK. Set accept_terms only after they agree. Use app passwords where the provider needs them (Gmail, iCloud, Yahoo; find_mail_server says so). Microsoft 365 / Outlook.com mailboxes can't use a password: leave that password empty and give the user the returned progress_url so they can click “Sign in with Microsoft”. Several mailboxes: put them in one move (mailboxes) rather than one move each; one token, one progress page, and the mailboxes copy in parallel. You may also call start_move several times (separate moves, e.g. different options); they run at the same time. Give the user progress_url, their private page to watch or stop the move, or for several moves the moves_url that move_status returns for all their tokens (one page with every move). Then follow them with move_status (wait_seconds lets it wait for the next change instead of polling). Also pass on the returned notice about statistics. When the address stays the same and only the provider changes (or both addresses have the same domain), set new_server to the new provider's IMAP server (ask the user; it is in the new provider's setup instructions): looking it up from the address finds the old provider, and such a move is refused. The service is free; please don't abuse it.

start_move input schema
{
  "type": "object",
  "required": [
    "accept_terms"
  ],
  "properties": {
    "since": {
      "type": "string",
      "description": "Optional: only copy messages received after this day (YYYY-MM-DD)."
    },
    "exclude": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional folder names (or patterns with *) not to copy, e.g. [\"Spam\", \"Trash\"]."
    },
    "language": {
      "enum": [
        "en",
        "de"
      ],
      "type": "string",
      "description": "Optional: language of the pages linked in the answer (default en)."
    },
    "mailboxes": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "old_email",
          "new_email"
        ],
        "properties": {
          "new_email": {
            "type": "string"
          },
          "old_email": {
            "type": "string"
          },
          "new_server": {
            "type": "string"
          },
          "old_server": {
            "type": "string"
          },
          "new_password": {
            "type": "string"
          },
          "new_username": {
            "type": "string"
          },
          "old_password": {
            "type": "string"
          },
          "old_username": {
            "type": "string"
          }
        }
      },
      "maxItems": 50,
      "minItems": 1,
      "description": "Several mailboxes in one move (up to 50), instead of the single old_/new_ fields. Each entry has the same fields; old_server / new_server above apply to entries that leave them empty. If some entries are wrong, nothing is started and the error names each one (mailboxes[i])."
    },
    "new_email": {
      "type": "string",
      "description": "One mailbox: address of the mailbox to copy to."
    },
    "old_email": {
      "type": "string",
      "description": "One mailbox: address of the mailbox to copy from. For several, use mailboxes instead."
    },
    "new_server": {
      "type": "string",
      "description": "IMAP server of the new mailbox; with mailboxes, the default for entries without one. Strongly recommended, and required when both addresses have the same domain (e.g. the same address at a new provider); otherwise found automatically."
    },
    "old_server": {
      "type": "string",
      "description": "Optional IMAP server name of the old mailbox (e.g. imap.example.com); with mailboxes, the default for entries without one. If empty, it is looked up from the address, which finds the server the domain points to today."
    },
    "follow_days": {
      "type": "integer",
      "default": 7,
      "maximum": 30,
      "minimum": 0,
      "description": "Optional: after the copy, keep copying new mail from the old mailbox for this many days (0 = off, default 7). Leave the default unless the user says otherwise: mail sent to the address can still arrive at the old mailbox for hours to days after the switch. If the server reboots in that time, the follow-up continues at the next call with the token (e.g. move_status). Use 0 if the user won't need the old mailbox after the copy (the passwords stay stored for resync_move until forget_move). resync_move can start it again later."
    },
    "accept_terms": {
      "type": "boolean",
      "description": "true only after the user has seen and accepted the terms and the privacy notice."
    },
    "new_password": {
      "type": "string",
      "description": "One mailbox: password or app password of the new mailbox (empty for Microsoft)."
    },
    "new_username": {
      "type": "string",
      "description": "One mailbox: optional login name, only if it is not the e-mail address."
    },
    "old_password": {
      "type": "string",
      "description": "One mailbox: password or app password of the old mailbox (empty for Microsoft)."
    },
    "old_username": {
      "type": "string",
      "description": "One mailbox: optional login name, only if it is not the e-mail address."
    }
  }
}
start_move output schema
{
  "type": "object",
  "anyOf": [
    {
      "type": "object",
      "required": [
        "token",
        "id",
        "status",
        "auto_start",
        "status_url",
        "progress_url",
        "moves_url",
        "next",
        "notice"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "next": {
          "type": "string"
        },
        "token": {
          "type": "string"
        },
        "notice": {
          "type": "object",
          "required": [
            "text",
            "objection_email",
            "privacy_url",
            "terms_url"
          ],
          "properties": {
            "text": {
              "type": "string"
            },
            "terms_url": {
              "type": "string"
            },
            "privacy_url": {
              "type": "string"
            },
            "objection_email": {
              "type": "string"
            }
          }
        },
        "status": {
          "type": "string"
        },
        "moves_url": {
          "type": "string"
        },
        "auto_start": {
          "type": "boolean"
        },
        "status_url": {
          "type": "string"
        },
        "progress_url": {
          "type": "string"
        },
        "needs_microsoft_sign_in": {
          "type": "boolean"
        }
      }
    },
    {
      "type": "object",
      "required": [
        "error"
      ],
      "properties": {
        "rows": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "object",
            "required": [
              "row",
              "problem"
            ],
            "properties": {
              "row": {
                "type": "integer"
              },
              "side": {
                "type": "string"
              },
              "problem": {
                "type": "string"
              },
              "provider": {
                "type": "string"
              }
            }
          }
        },
        "error": {
          "type": "string"
        },
        "damaged": {
          "type": "boolean"
        },
        "needs_passwords": {
          "type": "boolean"
        }
      }
    }
  ]
}
start_move annotations
{
  "title": "Start a mailbox move",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
move_status — Move status
Advertised by the server during the last successful anonymous check.

Tells where one or several moves stand: one sentence per move for the user (summary) plus details per mailbox. Status: waiting (needs a password or Microsoft sign-in on the progress page), checking, ready, queued, running, done, attention (finished, some messages not copied), failed, stopped. moves_url is one page (Your moves) showing every given move live, with stop and continue buttons: give it to the user when there are several moves. Follow a move until done, attention, failed or stopped (finished / all_finished = true), and report the summary to the user. wait_seconds (up to 50) makes the call wait until a move reaches a new state (e.g. queued → running → done, or a mailbox fails) and then answer; use it instead of calling every 30–60 seconds. A big mailbox takes hours: you may stop following and leave the user the page. After done or attention, following = true means new mail is still being copied until follow_until (follow_added: messages added since); there is no need to keep following that. can_resync = true: resync_move can copy mail that arrived since (resyncing while it runs). can_retry = true: retry_move tries the mailboxes again that failed or did not get everything copied and checked (pairs[].retry). After a server restart, the first call with a move's token lets its interrupted work (copy, follow-up, re-sync) continue with the stored passwords.

move_status input schema
{
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "description": "The token returned by start_move."
    },
    "tokens": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 50,
      "description": "Several moves at once: their tokens (instead of token, or in addition)."
    },
    "language": {
      "enum": [
        "en",
        "de"
      ],
      "type": "string",
      "description": "Optional: language of the linked pages (default en)."
    },
    "wait_seconds": {
      "type": "integer",
      "default": 0,
      "maximum": 50,
      "minimum": 0,
      "description": "Optional: wait up to this many seconds for a move to reach a new state before answering (returns at once if all are finished)."
    }
  }
}
move_status output schema
{
  "type": "object",
  "anyOf": [
    {
      "type": "object",
      "required": [
        "id",
        "status",
        "created",
        "pairs",
        "options",
        "needs_credentials",
        "can_retry",
        "microsoft_available",
        "following",
        "follow_added",
        "can_resync",
        "resync_needs_passwords",
        "resyncing",
        "resync_added",
        "summary",
        "progress_url",
        "moves_url",
        "finished"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "gone": {
          "type": "boolean"
        },
        "note": {
          "type": "string"
        },
        "ended": {
          "type": "string",
          "format": "date-time"
        },
        "pairs": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "object",
            "required": [
              "from",
              "to",
              "status",
              "total",
              "total_bytes",
              "done",
              "done_bytes",
              "failed",
              "folders",
              "folders_done"
            ],
            "properties": {
              "to": {
                "type": "object",
                "required": [
                  "email",
                  "ready"
                ],
                "properties": {
                  "path": {
                    "type": "string"
                  },
                  "port": {
                    "type": "integer"
                  },
                  "email": {
                    "type": "string"
                  },
                  "ready": {
                    "type": "boolean"
                  },
                  "server": {
                    "type": "string"
                  },
                  "protocol": {
                    "type": "string"
                  },
                  "security": {
                    "type": "string"
                  },
                  "username": {
                    "type": "string"
                  },
                  "microsoft": {
                    "type": "boolean"
                  },
                  "needs_password": {
                    "type": "boolean"
                  }
                }
              },
              "done": {
                "type": "integer"
              },
              "from": {
                "type": "object",
                "required": [
                  "email",
                  "ready"
                ],
                "properties": {
                  "path": {
                    "type": "string"
                  },
                  "port": {
                    "type": "integer"
                  },
                  "email": {
                    "type": "string"
                  },
                  "ready": {
                    "type": "boolean"
                  },
                  "server": {
                    "type": "string"
                  },
                  "protocol": {
                    "type": "string"
                  },
                  "security": {
                    "type": "string"
                  },
                  "username": {
                    "type": "string"
                  },
                  "microsoft": {
                    "type": "boolean"
                  },
                  "needs_password": {
                    "type": "boolean"
                  }
                }
              },
              "plan": {
                "type": [
                  "object",
                  "null"
                ],
                "required": [
                  "folders",
                  "messages",
                  "bytes",
                  "to_copy",
                  "to_copy_bytes",
                  "already_copied",
                  "folders_to_create"
                ],
                "properties": {
                  "bytes": {
                    "type": "integer"
                  },
                  "folders": {
                    "type": "integer"
                  },
                  "to_copy": {
                    "type": "integer"
                  },
                  "messages": {
                    "type": "integer"
                  },
                  "warnings": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "string"
                    }
                  },
                  "too_large": {
                    "type": "integer"
                  },
                  "to_copy_bytes": {
                    "type": "integer"
                  },
                  "already_copied": {
                    "type": "integer"
                  },
                  "folders_to_create": {
                    "type": "integer"
                  }
                }
              },
              "retry": {
                "type": "boolean"
              },
              "stage": {
                "type": "string"
              },
              "total": {
                "type": "integer"
              },
              "failed": {
                "type": "integer"
              },
              "folder": {
                "type": "string"
              },
              "result": {
                "type": [
                  "object",
                  "null"
                ],
                "required": [
                  "copied",
                  "already_there",
                  "skipped",
                  "failed",
                  "bytes",
                  "verified",
                  "found",
                  "missing"
                ],
                "properties": {
                  "bytes": {
                    "type": "integer"
                  },
                  "found": {
                    "type": "integer"
                  },
                  "copied": {
                    "type": "integer"
                  },
                  "failed": {
                    "type": "integer"
                  },
                  "missing": {
                    "type": "integer"
                  },
                  "seconds": {
                    "type": "number"
                  },
                  "skipped": {
                    "type": "integer"
                  },
                  "problems": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "object",
                      "required": [
                        "folder",
                        "uid",
                        "size",
                        "reason"
                      ],
                      "properties": {
                        "uid": {
                          "type": "integer"
                        },
                        "size": {
                          "type": "integer"
                        },
                        "folder": {
                          "type": "string"
                        },
                        "reason": {
                          "type": "string"
                        },
                        "repaired": {
                          "type": "boolean"
                        },
                        "saved_to": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "repaired": {
                    "type": "integer"
                  },
                  "verified": {
                    "type": "boolean"
                  },
                  "warnings": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "string"
                    }
                  },
                  "date_diffs": {
                    "type": "integer"
                  },
                  "flag_diffs": {
                    "type": "integer"
                  },
                  "copies_gone": {
                    "type": "integer"
                  },
                  "check_failed": {
                    "type": "boolean"
                  },
                  "already_there": {
                    "type": "integer"
                  },
                  "problems_more": {
                    "type": "integer"
                  },
                  "skipped_folders": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "object",
                      "required": [
                        "folder",
                        "reason"
                      ],
                      "properties": {
                        "folder": {
                          "type": "string"
                        },
                        "reason": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "unchecked_names": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "string"
                    }
                  },
                  "unchecked_folders": {
                    "type": "integer"
                  }
                }
              },
              "status": {
                "type": "string"
              },
              "folders": {
                "type": "integer"
              },
              "problem": {
                "type": [
                  "object",
                  "null"
                ],
                "required": [
                  "what"
                ],
                "properties": {
                  "fix": {
                    "type": "string"
                  },
                  "why": {
                    "type": "string"
                  },
                  "what": {
                    "type": "string"
                  },
                  "technical": {
                    "type": "string"
                  }
                }
              },
              "last_new": {
                "type": "string",
                "format": "date-time"
              },
              "retrying": {
                "type": "string"
              },
              "following": {
                "type": "boolean"
              },
              "done_bytes": {
                "type": "integer"
              },
              "retry_from": {
                "type": [
                  "object",
                  "null"
                ],
                "required": [
                  "status"
                ],
                "properties": {
                  "done": {
                    "type": "integer"
                  },
                  "plan": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "required": [
                      "folders",
                      "messages",
                      "bytes",
                      "to_copy",
                      "to_copy_bytes",
                      "already_copied",
                      "folders_to_create"
                    ],
                    "properties": {
                      "bytes": {
                        "type": "integer"
                      },
                      "folders": {
                        "type": "integer"
                      },
                      "to_copy": {
                        "type": "integer"
                      },
                      "messages": {
                        "type": "integer"
                      },
                      "warnings": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "items": {
                          "type": "string"
                        }
                      },
                      "too_large": {
                        "type": "integer"
                      },
                      "to_copy_bytes": {
                        "type": "integer"
                      },
                      "already_copied": {
                        "type": "integer"
                      },
                      "folders_to_create": {
                        "type": "integer"
                      }
                    }
                  },
                  "total": {
                    "type": "integer"
                  },
                  "result": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "required": [
                      "copied",
                      "already_there",
                      "skipped",
                      "failed",
                      "bytes",
                      "verified",
                      "found",
                      "missing"
                    ],
                    "properties": {
                      "bytes": {
                        "type": "integer"
                      },
                      "found": {
                        "type": "integer"
                      },
                      "copied": {
                        "type": "integer"
                      },
                      "failed": {
                        "type": "integer"
                      },
                      "missing": {
                        "type": "integer"
                      },
                      "seconds": {
                        "type": "number"
                      },
                      "skipped": {
                        "type": "integer"
                      },
                      "problems": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "items": {
                          "type": "object",
                          "required": [
                            "folder",
                            "uid",
                            "size",
                            "reason"
                          ],
                          "properties": {
                            "uid": {
                              "type": "integer"
                            },
                            "size": {
                              "type": "integer"
                            },
                            "folder": {
                              "type": "string"
                            },
                            "reason": {
                              "type": "string"
                            },
                            "repaired": {
                              "type": "boolean"
                            },
                            "saved_to": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "repaired": {
                        "type": "integer"
                      },
                      "verified": {
                        "type": "boolean"
                      },
                      "warnings": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "items": {
                          "type": "string"
                        }
                      },
                      "date_diffs": {
                        "type": "integer"
                      },
                      "flag_diffs": {
                        "type": "integer"
                      },
                      "copies_gone": {
                        "type": "integer"
                      },
                      "check_failed": {
                        "type": "boolean"
                      },
                      "already_there": {
                        "type": "integer"
                      },
                      "problems_more": {
                        "type": "integer"
                      },
                      "skipped_folders": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "items": {
                          "type": "object",
                          "required": [
                            "folder",
                            "reason"
                          ],
                          "properties": {
                            "folder": {
                              "type": "string"
                            },
                            "reason": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "unchecked_names": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "items": {
                          "type": "string"
                        }
                      },
                      "unchecked_folders": {
                        "type": "integer"
                      }
                    }
                  },
                  "status": {
                    "type": "string"
                  },
                  "following": {
                    "type": "boolean"
                  },
                  "done_bytes": {
                    "type": "integer"
                  },
                  "total_bytes": {
                    "type": "integer"
                  }
                }
              },
              "follow_note": {
                "type": "string"
              },
              "follow_temp": {
                "type": "integer"
              },
              "resync_temp": {
                "type": "integer"
              },
              "total_bytes": {
                "type": "integer"
              },
              "copy_seconds": {
                "type": "number"
              },
              "folders_done": {
                "type": "integer"
              },
              "follow_added": {
                "type": "integer"
              },
              "follow_failed": {
                "type": "integer"
              },
              "resync_failed": {
                "type": "integer"
              },
              "follow_refusals": {
                "type": "integer"
              },
              "follow_closed_since": {
                "type": "string",
                "format": "date-time"
              },
              "follow_closed_rounds": {
                "type": "integer"
              },
              "follow_failing_since": {
                "type": "string",
                "format": "date-time"
              },
              "follow_refused_since": {
                "type": "string",
                "format": "date-time"
              },
              "follow_folders_failing": {
                "type": "boolean"
              }
            }
          }
        },
        "stage": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "created": {
          "type": "string",
          "format": "date-time"
        },
        "options": {
          "type": "object",
          "properties": {
            "since": {
              "type": "string"
            },
            "exclude": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": "string"
              }
            },
            "follow_days": {
              "type": [
                "integer",
                "null"
              ]
            }
          }
        },
        "started": {
          "type": "string",
          "format": "date-time"
        },
        "summary": {
          "type": "string"
        },
        "finished": {
          "type": "boolean"
        },
        "last_new": {
          "type": "string",
          "format": "date-time"
        },
        "can_retry": {
          "type": "boolean"
        },
        "following": {
          "type": "boolean"
        },
        "moves_url": {
          "type": "string"
        },
        "resyncing": {
          "type": "boolean"
        },
        "can_resync": {
          "type": "boolean"
        },
        "follow_days": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "integer"
          }
        },
        "follow_note": {
          "type": "string"
        },
        "last_follow": {
          "type": "string",
          "format": "date-time"
        },
        "last_resync": {
          "type": "string",
          "format": "date-time"
        },
        "delete_after": {
          "type": "string",
          "format": "date-time"
        },
        "follow_added": {
          "type": "integer"
        },
        "follow_ended": {
          "type": "string",
          "format": "date-time"
        },
        "follow_since": {
          "type": "string",
          "format": "date-time"
        },
        "follow_until": {
          "type": "string",
          "format": "date-time"
        },
        "progress_url": {
          "type": "string"
        },
        "resync_added": {
          "type": "integer"
        },
        "follow_failed": {
          "type": "integer"
        },
        "resync_failed": {
          "type": "integer"
        },
        "resync_stopped": {
          "type": "boolean"
        },
        "needs_credentials": {
          "type": "boolean"
        },
        "resync_incomplete": {
          "type": "integer"
        },
        "microsoft_available": {
          "type": "boolean"
        },
        "resync_needs_passwords": {
          "type": "boolean"
        }
      }
    },
    {
      "type": "object",
      "required": [
        "moves",
        "moves_url",
        "all_finished",
        "summary"
      ],
      "properties": {
        "moves": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "object",
            "required": [
              "token"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "gone": {
                "type": "boolean"
              },
              "note": {
                "type": "string"
              },
              "ended": {
                "type": "string",
                "format": "date-time"
              },
              "error": {
                "type": "string"
              },
              "pairs": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "from",
                    "to",
                    "status",
                    "total",
                    "total_bytes",
                    "done",
                    "done_bytes",
                    "failed",
                    "folders",
                    "folders_done"
                  ],
                  "properties": {
                    "to": {
                      "type": "object",
                      "required": [
                        "email",
                        "ready"
                      ],
                      "properties": {
                        "path": {
                          "type": "string"
                        },
                        "port": {
                          "type": "integer"
                        },
                        "email": {
                          "type": "string"
                        },
                        "ready": {
                          "type": "boolean"
                        },
                        "server": {
                          "type": "string"
                        },
                        "protocol": {
                          "type": "string"
                        },
                        "security": {
                          "type": "string"
                        },
                        "username": {
                          "type": "string"
                        },
                        "microsoft": {
                          "type": "boolean"
                        },
                        "needs_password": {
                          "type": "boolean"
                        }
                      }
                    },
                    "done": {
                      "type": "integer"
                    },
                    "from": {
                      "type": "object",
                      "required": [
                        "email",
                        "ready"
                      ],
                      "properties": {
                        "path": {
                          "type": "string"
                        },
                        "port": {
                          "type": "integer"
                        },
                        "email": {
                          "type": "string"
                        },
                        "ready": {
                          "type": "boolean"
                        },
                        "server": {
                          "type": "string"
                        },
                        "protocol": {
                          "type": "string"
                        },
                        "security": {
                          "type": "string"
                        },
                        "username": {
                          "type": "string"
                        },
                        "microsoft": {
                          "type": "boolean"
                        },
                        "needs_password": {
                          "type": "boolean"
                        }
                      }
                    },
                    "plan": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "required": [
                        "folders",
                        "messages",
                        "bytes",
                        "to_copy",
                        "to_copy_bytes",
                        "already_copied",
                        "folders_to_create"
                      ],
                      "properties": {
                        "bytes": {
                          "type": "integer"
                        },
                        "folders": {
                          "type": "integer"
                        },
                        "to_copy": {
                          "type": "integer"
                        },
                        "messages": {
                          "type": "integer"
                        },
                        "warnings": {
                          "type": [
                            "array",
                            "null"
                          ],
                          "items": {
                            "type": "string"
                          }
                        },
                        "too_large": {
                          "type": "integer"
                        },
                        "to_copy_bytes": {
                          "type": "integer"
                        },
                        "already_copied": {
                          "type": "integer"
                        },
                        "folders_to_create": {
                          "type": "integer"
                        }
                      }
                    },
                    "retry": {
                      "type": "boolean"
                    },
                    "stage": {
                      "type": "string"
                    },
                    "total": {
                      "type": "integer"
                    },
                    "failed": {
                      "type": "integer"
                    },
                    "folder": {
                      "type": "string"
                    },
                    "result": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "required": [
                        "copied",
                        "already_there",
                        "skipped",
                        "failed",
                        "bytes",
                        "verified",
                        "found",
                        "missing"
                      ],
                      "properties": {
                        "bytes": {
                          "type": "integer"
                        },
                        "found": {
                          "type": "integer"
                        },
                        "copied": {
                          "type": "integer"
                        },
                        "failed": {
                          "type": "integer"
                        },
                        "missing": {
                          "type": "integer"
                        },
                        "seconds": {
                          "type": "number"
                        },
                        "skipped": {
                          "type": "integer"
                        },
                        "problems": {
                          "type": [
                            "array",
                            "null"
                          ],
                          "items": {
                            "type": "object",
                            "required": [
                              "folder",
                              "uid",
                              "size",
                              "reason"
                            ],
                            "properties": {
                              "uid": {
                                "type": "integer"
                              },
                              "size": {
                                "type": "integer"
                              },
                              "folder": {
                                "type": "string"
                              },
                              "reason": {
                                "type": "string"
                              },
                              "repaired": {
                                "type": "boolean"
                              },
                              "saved_to": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "repaired": {
                          "type": "integer"
                        },
                        "verified": {
                          "type": "boolean"
                        },
                        "warnings": {
                          "type": [
                            "array",
                            "null"
                          ],
                          "items": {
                            "type": "string"
                          }
                        },
                        "date_diffs": {
                          "type": "integer"
                        },
                        "flag_diffs": {
                          "type": "integer"
                        },
                        "copies_gone": {
                          "type": "integer"
                        },
                        "check_failed": {
                          "type": "boolean"
                        },
                        "already_there": {
                          "type": "integer"
                        },
                        "problems_more": {
                          "type": "integer"
                        },
                        "skipped_folders": {
                          "type": [
                            "array",
                            "null"
                          ],
                          "items": {
                            "type": "object",
                            "required": [
                              "folder",
                              "reason"
                            ],
                            "properties": {
                              "folder": {
                                "type": "string"
                              },
                              "reason": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "unchecked_names": {
                          "type": [
                            "array",
                            "null"
                          ],
                          "items": {
                            "type": "string"
                          }
                        },
                        "unchecked_folders": {
                          "type": "integer"
                        }
                      }
                    },
                    "status": {
                      "type": "string"
                    },
                    "folders": {
                      "type": "integer"
                    },
                    "problem": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "required": [
                        "what"
                      ],
                      "properties": {
                        "fix": {
                          "type": "string"
                        },
                        "why": {
                          "type": "string"
                        },
                        "what": {
                          "type": "string"
                        },
                        "technical": {
                          "type": "string"
                        }
                      }
                    },
                    "last_new": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "retrying": {
                      "type": "string"
                    },
                    "following": {
                      "type": "boolean"
                    },
                    "done_bytes": {
                      "type": "integer"
                    },
                    "retry_from": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "done": {
                          "type": "integer"
                        },
                        "plan": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "required": [
                            "folders",
                            "messages",
                            "bytes",
                            "to_copy",
                            "to_copy_bytes",
                            "already_copied",
                            "folders_to_create"
                          ],
                          "properties": {
                            "bytes": {
                              "type": "integer"
                            },
                            "folders": {
                              "type": "integer"
                            },
                            "to_copy": {
                              "type": "integer"
                            },
                            "messages": {
                              "type": "integer"
                            },
                            "warnings": {
                              "type": [
                                "array",
                                "null"
                              ],
                              "items": {
                                "type": "string"
                              }
                            },
                            "too_large": {
                              "type": "integer"
                            },
                            "to_copy_bytes": {
                              "type": "integer"
                            },
                            "already_copied": {
                              "type": "integer"
                            },
                            "folders_to_create": {
                              "type": "integer"
                            }
                          }
                        },
                        "total": {
                          "type": "integer"
                        },
                        "result": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "required": [
                            "copied",
                            "already_there",
                            "skipped",
                            "failed",
                            "bytes",
                            "verified",
                            "found",
                            "missing"
                          ],
                          "properties": {
                            "bytes": {
                              "type": "integer"
                            },
                            "found": {
                              "type": "integer"
                            },
                            "copied": {
                              "type": "integer"
                            },
                            "failed": {
                              "type": "integer"
                            },
                            "missing": {
                              "type": "integer"
                            },
                            "seconds": {
                              "type": "number"
                            },
                            "skipped": {
                              "type": "integer"
                            },
                            "problems": {
                              "type": [
                                "array",
                                "null"
                              ],
                              "items": {
                                "type": "object",
                                "required": [
                                  "folder",
                                  "uid",
                                  "size",
                                  "reason"
                                ],
                                "properties": {
                                  "uid": {
                                    "type": "integer"
                                  },
                                  "size": {
                                    "type": "integer"
                                  },
                                  "folder": {
                                    "type": "string"
                                  },
                                  "reason": {
                                    "type": "string"
                                  },
                                  "repaired": {
                                    "type": "boolean"
                                  },
                                  "saved_to": {
                                    "type": "string"
                                  }
                                }
                              }
                            },
                            "repaired": {
                              "type": "integer"
                            },
                            "verified": {
                              "type": "boolean"
                            },
                            "warnings": {
                              "type": [
                                "array",
                                "null"
                              ],
                              "items": {
                                "type": "string"
                              }
                            },
                            "date_diffs": {
                              "type": "integer"
                            },
                            "flag_diffs": {
                              "type": "integer"
                            },
                            "copies_gone": {
                              "type": "integer"
                            },
                            "check_failed": {
                              "type": "boolean"
                            },
                            "already_there": {
                              "type": "integer"
                            },
                            "problems_more": {
                              "type": "integer"
                            },
                            "skipped_folders": {
                              "type": [
                                "array",
                                "null"
                              ],
                              "items": {
                                "type": "object",
                                "required": [
                                  "folder",
                                  "reason"
                                ],
                                "properties": {
                                  "folder": {
                                    "type": "string"
                                  },
                                  "reason": {
                                    "type": "string"
                                  }
                                }
                              }
                            },
                            "unchecked_names": {
                              "type": [
                                "array",
                                "null"
                              ],
                              "items": {
                                "type": "string"
                              }
                            },
                            "unchecked_folders": {
                              "type": "integer"
                            }
                          }
                        },
                        "status": {
                          "type": "string"
                        },
                        "following": {
                          "type": "boolean"
                        },
                        "done_bytes": {
                          "type": "integer"
                        },
                        "total_bytes": {
                          "type": "integer"
                        }
                      }
                    },
                    "follow_note": {
                      "type": "string"
                    },
                    "follow_temp": {
                      "type": "integer"
                    },
                    "resync_temp": {
                      "type": "integer"
                    },
                    "total_bytes": {
                      "type": "integer"
                    },
                    "copy_seconds": {
                      "type": "number"
                    },
                    "folders_done": {
                      "type": "integer"
                    },
                    "follow_added": {
                      "type": "integer"
                    },
                    "follow_failed": {
                      "type": "integer"
                    },
                    "resync_failed": {
                      "type": "integer"
                    },
                    "follow_refusals": {
                      "type": "integer"
                    },
                    "follow_closed_since": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "follow_closed_rounds": {
                      "type": "integer"
                    },
                    "follow_failing_since": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "follow_refused_since": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "follow_folders_failing": {
                      "type": "boolean"
                    }
                  }
                }
              },
              "stage": {
                "type": "string"
              },
              "token": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "created": {
                "type": "string",
                "format": "date-time"
              },
              "options": {
                "type": "object",
                "properties": {
                  "since": {
                    "type": "string"
                  },
                  "exclude": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "string"
                    }
                  },
                  "follow_days": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  }
                }
              },
              "started": {
                "type": "string",
                "format": "date-time"
              },
              "summary": {
                "type": "string"
              },
              "last_new": {
                "type": "string",
                "format": "date-time"
              },
              "can_retry": {
                "type": "boolean"
              },
              "following": {
                "type": "boolean"
              },
              "resyncing": {
                "type": "boolean"
              },
              "can_resync": {
                "type": "boolean"
              },
              "follow_days": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": "integer"
                }
              },
              "follow_note": {
                "type": "string"
              },
              "last_follow": {
                "type": "string",
                "format": "date-time"
              },
              "last_resync": {
                "type": "string",
                "format": "date-time"
              },
              "delete_after": {
                "type": "string",
                "format": "date-time"
              },
              "follow_added": {
                "type": "integer"
              },
              "follow_ended": {
                "type": "string",
                "format": "date-time"
              },
              "follow_since": {
                "type": "string",
                "format": "date-time"
              },
              "follow_until": {
                "type": "string",
                "format": "date-time"
              },
              "progress_url": {
                "type": "string"
              },
              "resync_added": {
                "type": "integer"
              },
              "follow_failed": {
                "type": "integer"
              },
              "resync_failed": {
                "type": "integer"
              },
              "resync_stopped": {
                "type": "boolean"
              },
              "needs_credentials": {
                "type": "boolean"
              },
              "resync_incomplete": {
                "type": "integer"
              },
              "microsoft_available": {
                "type": "boolean"
              },
              "resync_needs_passwords": {
                "type": "boolean"
              }
            }
          }
        },
        "summary": {
          "type": "string"
        },
        "moves_url": {
          "type": "string"
        },
        "all_finished": {
          "type": "boolean"
        }
      }
    },
    {
      "type": "object",
      "required": [
        "error"
      ],
      "properties": {
        "rows": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "object",
            "required": [
              "row",
              "problem"
            ],
            "properties": {
              "row": {
                "type": "integer"
              },
              "side": {
                "type": "string"
              },
              "problem": {
                "type": "string"
              },
              "provider": {
                "type": "string"
              }
            }
          }
        },
        "error": {
          "type": "string"
        },
        "damaged": {
          "type": "boolean"
        },
        "needs_passwords": {
          "type": "boolean"
        }
      }
    }
  ]
}
move_status annotations
{
  "title": "Move status",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
cancel_move — Stop a move
Advertised by the server during the last successful anonymous check.

Stops a move at once, only when the user asks for it. Everything copied so far stays in the new mailbox; nothing is deleted. The passwords leave memory; their encrypted copy stays until forget_move or 30 days after the last activity, so resync_move can pick up later. After the move has finished, it stops copying new mail (status stays done). Several moves: pass tokens.

cancel_move input schema
{
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "description": "The token returned by start_move."
    },
    "tokens": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 50,
      "description": "Several moves at once: their tokens (instead of token, or in addition)."
    }
  }
}
cancel_move output schema
{
  "type": "object",
  "anyOf": [
    {
      "type": "object",
      "required": [
        "id",
        "status",
        "created",
        "pairs",
        "options",
        "needs_credentials",
        "can_retry",
        "microsoft_available",
        "following",
        "follow_added",
        "can_resync",
        "resync_needs_passwords",
        "resyncing",
        "resync_added",
        "summary",
        "progress_url",
        "moves_url",
        "finished"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "gone": {
          "type": "boolean"
        },
        "note": {
          "type": "string"
        },
        "ended": {
          "type": "string",
          "format": "date-time"
        },
        "pairs": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "object",
            "required": [
              "from",
              "to",
              "status",
              "total",
              "total_bytes",
              "done",
              "done_bytes",
              "failed",
              "folders",
              "folders_done"
            ],
            "properties": {
              "to": {
                "type": "object",
                "required": [
                  "email",
                  "ready"
                ],
                "properties": {
                  "path": {
                    "type": "string"
                  },
                  "port": {
                    "type": "integer"
                  },
                  "email": {
                    "type": "string"
                  },
                  "ready": {
                    "type": "boolean"
                  },
                  "server": {
                    "type": "string"
                  },
                  "protocol": {
                    "type": "string"
                  },
                  "security": {
                    "type": "string"
                  },
                  "username": {
                    "type": "string"
                  },
                  "microsoft": {
                    "type": "boolean"
                  },
                  "needs_password": {
                    "type": "boolean"
                  }
                }
              },
              "done": {
                "type": "integer"
              },
              "from": {
                "type": "object",
                "required": [
                  "email",
                  "ready"
                ],
                "properties": {
                  "path": {
                    "type": "string"
                  },
                  "port": {
                    "type": "integer"
                  },
                  "email": {
                    "type": "string"
                  },
                  "ready": {
                    "type": "boolean"
                  },
                  "server": {
                    "type": "string"
                  },
                  "protocol": {
                    "type": "string"
                  },
                  "security": {
                    "type": "string"
                  },
                  "username": {
                    "type": "string"
                  },
                  "microsoft": {
                    "type": "boolean"
                  },
                  "needs_password": {
                    "type": "boolean"
                  }
                }
              },
              "plan": {
                "type": [
                  "object",
                  "null"
                ],
                "required": [
                  "folders",
                  "messages",
                  "bytes",
                  "to_copy",
                  "to_copy_bytes",
                  "already_copied",
                  "folders_to_create"
                ],
                "properties": {
                  "bytes": {
                    "type": "integer"
                  },
                  "folders": {
                    "type": "integer"
                  },
                  "to_copy": {
                    "type": "integer"
                  },
                  "messages": {
                    "type": "integer"
                  },
                  "warnings": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "string"
                    }
                  },
                  "too_large": {
                    "type": "integer"
                  },
                  "to_copy_bytes": {
                    "type": "integer"
                  },
                  "already_copied": {
                    "type": "integer"
                  },
                  "folders_to_create": {
                    "type": "integer"
                  }
                }
              },
              "retry": {
                "type": "boolean"
              },
              "stage": {
                "type": "string"
              },
              "total": {
                "type": "integer"
              },
              "failed": {
                "type": "integer"
              },
              "folder": {
                "type": "string"
              },
              "result": {
                "type": [
                  "object",
                  "null"
                ],
                "required": [
                  "copied",
                  "already_there",
                  "skipped",
                  "failed",
                  "bytes",
                  "verified",
                  "found",
                  "missing"
                ],
                "properties": {
                  "bytes": {
                    "type": "integer"
                  },
                  "found": {
                    "type": "integer"
                  },
                  "copied": {
                    "type": "integer"
                  },
                  "failed": {
                    "type": "integer"
                  },
                  "missing": {
                    "type": "integer"
                  },
                  "seconds": {
                    "type": "number"
                  },
                  "skipped": {
                    "type": "integer"
                  },
                  "problems": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "object",
                      "required": [
                        "folder",
                        "uid",
                        "size",
                        "reason"
                      ],
                      "properties": {
                        "uid": {
                          "type": "integer"
                        },
                        "size": {
                          "type": "integer"
                        },
                        "folder": {
                          "type": "string"
                        },
                        "reason": {
                          "type": "string"
                        },
                        "repaired": {
                          "type": "boolean"
                        },
                        "saved_to": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "repaired": {
                    "type": "integer"
                  },
                  "verified": {
                    "type": "boolean"
                  },
                  "warnings": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "string"
                    }
                  },
                  "date_diffs": {
                    "type": "integer"
                  },
                  "flag_diffs": {
                    "type": "integer"
                  },
                  "copies_gone": {
                    "type": "integer"
                  },
                  "check_failed": {
                    "type": "boolean"
                  },
                  "already_there": {
                    "type": "integer"
                  },
                  "problems_more": {
                    "type": "integer"
                  },
                  "skipped_folders": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "object",
                      "required": [
                        "folder",
                        "reason"
                      ],
                      "properties": {
                        "folder": {
                          "type": "string"
                        },
                        "reason": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "unchecked_names": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "string"
                    }
                  },
                  "unchecked_folders": {
                    "type": "integer"
                  }
                }
              },
              "status": {
                "type": "string"
              },
              "folders": {
                "type": "integer"
              },
              "problem": {
                "type": [
                  "object",
                  "null"
                ],
                "required": [
                  "what"
                ],
                "properties": {
                  "fix": {
                    "type": "string"
                  },
                  "why": {
                    "type": "string"
                  },
                  "what": {
                    "type": "string"
                  },
                  "technical": {
                    "type": "string"
                  }
                }
              },
              "last_new": {
                "type": "string",
                "format": "date-time"
              },
              "retrying": {
                "type": "string"
              },
              "following": {
                "type": "boolean"
              },
              "done_bytes": {
                "type": "integer"
              },
              "retry_from": {
                "type": [
                  "object",
                  "null"
                ],
                "required": [
                  "status"
                ],
                "properties": {
                  "done": {
                    "type": "integer"
                  },
                  "plan": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "required": [
                      "folders",
                      "messages",
                      "bytes",
                      "to_copy",
                      "to_copy_bytes",
                      "already_copied",
                      "folders_to_create"
                    ],
                    "properties": {
                      "bytes": {
                        "type": "integer"
                      },
                      "folders": {
                        "type": "integer"
                      },
                      "to_copy": {
                        "type": "integer"
                      },
                      "messages": {
                        "type": "integer"
                      },
                      "warnings": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "items": {
                          "type": "string"
                        }
                      },
                      "too_large": {
                        "type": "integer"
                      },
                      "to_copy_bytes": {
                        "type": "integer"
                      },
                      "already_copied": {
                        "type": "integer"
                      },
                      "folders_to_create": {
                        "type": "integer"
                      }
                    }
                  },
                  "total": {
                    "type": "integer"
                  },
                  "result": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "required": [
                      "copied",
                      "already_there",
                      "skipped",
                      "failed",
                      "bytes",
                      "verified",
                      "found",
                      "missing"
                    ],
                    "properties": {
                      "bytes": {
                        "type": "integer"
                      },
                      "found": {
                        "type": "integer"
                      },
                      "copied": {
                        "type": "integer"
                      },
                      "failed": {
                        "type": "integer"
                      },
                      "missing": {
                        "type": "integer"
                      },
                      "seconds": {
                        "type": "number"
                      },
                      "skipped": {
                        "type": "integer"
                      },
                      "problems": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "items": {
                          "type": "object",
                          "required": [
                            "folder",
                            "uid",
                            "size",
                            "reason"
                          ],
                          "properties": {
                            "uid": {
                              "type": "integer"
                            },
                            "size": {
                              "type": "integer"
                            },
                            "folder": {
                              "type": "string"
                            },
                            "reason": {
                              "type": "string"
                            },
                            "repaired": {
                              "type": "boolean"
                            },
                            "saved_to": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "repaired": {
                        "type": "integer"
                      },
                      "verified": {
                        "type": "boolean"
                      },
                      "warnings": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "items": {
                          "type": "string"
                        }
                      },
                      "date_diffs": {
                        "type": "integer"
                      },
                      "flag_diffs": {
                        "type": "integer"
                      },
                      "copies_gone": {
                        "type": "integer"
                      },
                      "check_failed": {
                        "type": "boolean"
                      },
                      "already_there": {
                        "type": "integer"
                      },
                      "problems_more": {
                        "type": "integer"
                      },
                      "skipped_folders": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "items": {
                          "type": "object",
                          "required": [
                            "folder",
                            "reason"
                          ],
                          "properties": {
                            "folder": {
                              "type": "string"
                            },
                            "reason": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "unchecked_names": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "items": {
                          "type": "string"
                        }
                      },
                      "unchecked_folders": {
                        "type": "integer"
                      }
                    }
                  },
                  "status": {
                    "type": "string"
                  },
                  "following": {
                    "type": "boolean"
                  },
                  "done_bytes": {
                    "type": "integer"
                  },
                  "total_bytes": {
                    "type": "integer"
                  }
                }
              },
              "follow_note": {
                "type": "string"
              },
              "follow_temp": {
                "type": "integer"
              },
              "resync_temp": {
                "type": "integer"
              },
              "total_bytes": {
                "type": "integer"
              },
              "copy_seconds": {
                "type": "number"
              },
              "folders_done": {
                "type": "integer"
              },
              "follow_added": {
                "type": "integer"
              },
              "follow_failed": {
                "type": "integer"
              },
              "resync_failed": {
                "type": "integer"
              },
              "follow_refusals": {
                "type": "integer"
              },
              "follow_closed_since": {
                "type": "string",
                "format": "date-time"
              },
              "follow_closed_rounds": {
                "type": "integer"
              },
              "follow_failing_since": {
                "type": "string",
                "format": "date-time"
              },
              "follow_refused_since": {
                "type": "string",
                "format": "date-time"
              },
              "follow_folders_failing": {
                "type": "boolean"
              }
            }
          }
        },
        "stage": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "created": {
          "type": "string",
          "format": "date-time"
        },
        "options": {
          "type": "object",
          "properties": {
            "since": {
              "type": "string"
            },
            "exclude": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": "string"
              }
            },
            "follow_days": {
              "type": [
                "integer",
                "null"
              ]
            }
          }
        },
        "started": {
          "type": "string",
          "format": "date-time"
        },
        "summary": {
          "type": "string"
        },
        "finished": {
          "type": "boolean"
        },
        "last_new": {
          "type": "string",
          "format": "date-time"
        },
        "can_retry": {
          "type": "boolean"
        },
        "following": {
          "type": "boolean"
        },
        "moves_url": {
          "type": "string"
        },
        "resyncing": {
          "type": "boolean"
        },
        "can_resync": {
          "type": "boolean"
        },
        "follow_days": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "integer"
          }
        },
        "follow_note": {
          "type": "string"
        },
        "last_follow": {
          "type": "string",
          "format": "date-time"
        },
        "last_resync": {
          "type": "string",
          "format": "date-time"
        },
        "delete_after": {
          "type": "string",
          "format": "date-time"
        },
        "follow_added": {
          "type": "integer"
        },
        "follow_ended": {
          "type": "string",
          "format": "date-time"
        },
        "follow_since": {
          "type": "string",
          "format": "date-time"
        },
        "follow_until": {
          "type": "string",
          "format": "date-time"
        },
        "progress_url": {
          "type": "string"
        },
        "resync_added": {
          "type": "integer"
        },
        "follow_failed": {
          "type": "integer"
        },
        "resync_failed": {
          "type": "integer"
        },
        "resync_stopped": {
          "type": "boolean"
        },
        "needs_credentials": {
          "type": "boolean"
        },
        "resync_incomplete": {
          "type": "integer"
        },
        "microsoft_available": {
          "type": "boolean"
        },
        "resync_needs_passwords": {
          "type": "boolean"
        }
      }
    },
    {
      "type": "object",
      "required": [
        "moves",
        "moves_url",
        "all_finished",
        "summary"
      ],
      "properties": {
        "moves": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "object",
            "required": [
              "token"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "gone": {
                "type": "boolean"
              },
              "note": {
                "type": "string"
              },
              "ended": {
                "type": "string",
                "format": "date-time"
              },
              "error": {
                "type": "string"
              },
              "pairs": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "from",
                    "to",
                    "status",
                    "total",
                    "total_bytes",
                    "done",
                    "done_bytes",
                    "failed",
                    "folders",
                    "folders_done"
                  ],
                  "properties": {
                    "to": {
                      "type": "object",
                      "required": [
                        "email",
                        "ready"
                      ],
                      "properties": {
                        "path": {
                          "type": "string"
                        },
                        "port": {
                          "type": "integer"
                        },
                        "email": {
                          "type": "string"
                        },
                        "ready": {
                          "type": "boolean"
                        },
                        "server": {
                          "type": "string"
                        },
                        "protocol": {
                          "type": "string"
                        },
                        "security": {
                          "type": "string"
                        },
                        "username": {
                          "type": "string"
                        },
                        "microsoft": {
                          "type": "boolean"
                        },
                        "needs_password": {
                          "type": "boolean"
                        }
                      }
                    },
                    "done": {
                      "type": "integer"
                    },
                    "from": {
                      "type": "object",
                      "required": [
                        "email",
                        "ready"
                      ],
                      "properties": {
                        "path": {
                          "type": "string"
                        },
                        "port": {
                          "type": "integer"
                        },
                        "email": {
                          "type": "string"
                        },
                        "ready": {
                          "type": "boolean"
                        },
                        "server": {
                          "type": "string"
                        },
                        "protocol": {
                          "type": "string"
                        },
                        "security": {
                          "type": "string"
                        },
                        "username": {
                          "type": "string"
                        },
                        "microsoft": {
                          "type": "boolean"
                        },
                        "needs_password": {
                          "type": "boolean"
                        }
                      }
                    },
                    "plan": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "required": [
                        "folders",
                        "messages",
                        "bytes",
                        "to_copy",
                        "to_copy_bytes",
                        "already_copied",
                        "folders_to_create"
                      ],
                      "properties": {
                        "bytes": {
                          "type": "integer"
                        },
                        "folders": {
                          "type": "integer"
                        },
                        "to_copy": {
                          "type": "integer"
                        },
                        "messages": {
                          "type": "integer"
                        },
                        "warnings": {
                          "type": [
                            "array",
                            "null"
                          ],
                          "items": {
                            "type": "string"
                          }
                        },
                        "too_large": {
                          "type": "integer"
                        },
                        "to_copy_bytes": {
                          "type": "integer"
                        },
                        "already_copied": {
                          "type": "integer"
                        },
                        "folders_to_create": {
                          "type": "integer"
                        }
                      }
                    },
                    "retry": {
                      "type": "boolean"
                    },
                    "stage": {
                      "type": "string"
                    },
                    "total": {
                      "type": "integer"
                    },
                    "failed": {
                      "type": "integer"
                    },
                    "folder": {
                      "type": "string"
                    },
                    "result": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "required": [
                        "copied",
                        "already_there",
                        "skipped",
                        "failed",
                        "bytes",
                        "verified",
                        "found",
                        "missing"
                      ],
                      "properties": {
                        "bytes": {
                          "type": "integer"
                        },
                        "found": {
                          "type": "integer"
                        },
                        "copied": {
                          "type": "integer"
                        },
                        "failed": {
                          "type": "integer"
                        },
                        "missing": {
                          "type": "integer"
                        },
                        "seconds": {
                          "type": "number"
                        },
                        "skipped": {
                          "type": "integer"
                        },
                        "problems": {
                          "type": [
                            "array",
                            "null"
                          ],
                          "items": {
                            "type": "object",
                            "required": [
                              "folder",
                              "uid",
                              "size",
                              "reason"
                            ],
                            "properties": {
                              "uid": {
                                "type": "integer"
                              },
                              "size": {
                                "type": "integer"
                              },
                              "folder": {
                                "type": "string"
                              },
                              "reason": {
                                "type": "string"
                              },
                              "repaired": {
                                "type": "boolean"
                              },
                              "saved_to": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "repaired": {
                          "type": "integer"
                        },
                        "verified": {
                          "type": "boolean"
                        },
                        "warnings": {
                          "type": [
                            "array",
                            "null"
                          ],
                          "items": {
                            "type": "string"
                          }
                        },
                        "date_diffs": {
                          "type": "integer"
                        },
                        "flag_diffs": {
                          "type": "integer"
                        },
                        "copies_gone": {
                          "type": "integer"
                        },
                        "check_failed": {
                          "type": "boolean"
                        },
                        "already_there": {
                          "type": "integer"
                        },
                        "problems_more": {
                          "type": "integer"
                        },
                        "skipped_folders": {
                          "type": [
                            "array",
                            "null"
                          ],
                          "items": {
                            "type": "object",
                            "required": [
                              "folder",
                              "reason"
                            ],
                            "properties": {
                              "folder": {
                                "type": "string"
                              },
                              "reason": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "unchecked_names": {
                          "type": [
                            "array",
                            "null"
                          ],
                          "items": {
                            "type": "string"
                          }
                        },
                        "unchecked_folders": {
                          "type": "integer"
                        }
                      }
                    },
                    "status": {
                      "type": "string"
                    },
                    "folders": {
                      "type": "integer"
                    },
                    "problem": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "required": [
                        "what"
                      ],
                      "properties": {
                        "fix": {
                          "type": "string"
                        },
                        "why": {
                          "type": "string"
                        },
                        "what": {
                          "type": "string"
                        },
                        "technical": {
                          "type": "string"
                        }
                      }
                    },
                    "last_new": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "retrying": {
                      "type": "string"
                    },
                    "following": {
                      "type": "boolean"
                    },
                    "done_bytes": {
                      "type": "integer"
                    },
                    "retry_from": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "done": {
                          "type": "integer"
                        },
                        "plan": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "required": [
                            "folders",
                            "messages",
                            "bytes",
                            "to_copy",
                            "to_copy_bytes",
                            "already_copied",
                            "folders_to_create"
                          ],
                          "properties": {
                            "bytes": {
                              "type": "integer"
                            },
                            "folders": {
                              "type": "integer"
                            },
                            "to_copy": {
                              "type": "integer"
                            },
                            "messages": {
                              "type": "integer"
                            },
                            "warnings": {
                              "type": [
                                "array",
                                "null"
                              ],
                              "items": {
                                "type": "string"
                              }
                            },
                            "too_large": {
                              "type": "integer"
                            },
                            "to_copy_bytes": {
                              "type": "integer"
                            },
                            "already_copied": {
                              "type": "integer"
                            },
                            "folders_to_create": {
                              "type": "integer"
                            }
                          }
                        },
                        "total": {
                          "type": "integer"
                        },
                        "result": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "required": [
                            "copied",
                            "already_there",
                            "skipped",
                            "failed",
                            "bytes",
                            "verified",
                            "found",
                            "missing"
                          ],
                          "properties": {
                            "bytes": {
                              "type": "integer"
                            },
                            "found": {
                              "type": "integer"
                            },
                            "copied": {
                              "type": "integer"
                            },
                            "failed": {
                              "type": "integer"
                            },
                            "missing": {
                              "type": "integer"
                            },
                            "seconds": {
                              "type": "number"
                            },
                            "skipped": {
                              "type": "integer"
                            },
                            "problems": {
                              "type": [
                                "array",
                                "null"
                              ],
                              "items": {
                                "type": "object",
                                "required": [
                                  "folder",
                                  "uid",
                                  "size",
                                  "reason"
                                ],
                                "properties": {
                                  "uid": {
                                    "type": "integer"
                                  },
                                  "size": {
                                    "type": "integer"
                                  },
                                  "folder": {
                                    "type": "string"
                                  },
                                  "reason": {
                                    "type": "string"
                                  },
                                  "repaired": {
                                    "type": "boolean"
                                  },
                                  "saved_to": {
                                    "type": "string"
                                  }
                                }
                              }
                            },
                            "repaired": {
                              "type": "integer"
                            },
                            "verified": {
                              "type": "boolean"
                            },
                            "warnings": {
                              "type": [
                                "array",
                                "null"
                              ],
                              "items": {
                                "type": "string"
                              }
                            },
                            "date_diffs": {
                              "type": "integer"
                            },
                            "flag_diffs": {
                              "type": "integer"
                            },
                            "copies_gone": {
                              "type": "integer"
                            },
                            "check_failed": {
                              "type": "boolean"
                            },
                            "already_there": {
                              "type": "integer"
                            },
                            "problems_more": {
                              "type": "integer"
                            },
                            "skipped_folders": {
                              "type": [
                                "array",
                                "null"
                              ],
                              "items": {
                                "type": "object",
                                "required": [
                                  "folder",
                                  "reason"
                                ],
                                "properties": {
                                  "folder": {
                                    "type": "string"
                                  },
                                  "reason": {
                                    "type": "string"
                                  }
                                }
                              }
                            },
                            "unchecked_names": {
                              "type": [
                                "array",
                                "null"
                              ],
                              "items": {
                                "type": "string"
                              }
                            },
                            "unchecked_folders": {
                              "type": "integer"
                            }
                          }
                        },
                        "status": {
                          "type": "string"
                        },
                        "following": {
                          "type": "boolean"
                        },
                        "done_bytes": {
                          "type": "integer"
                        },
                        "total_bytes": {
                          "type": "integer"
                        }
                      }
                    },
                    "follow_note": {
                      "type": "string"
                    },
                    "follow_temp": {
                      "type": "integer"
                    },
                    "resync_temp": {
                      "type": "integer"
                    },
                    "total_bytes": {
                      "type": "integer"
                    },
                    "copy_seconds": {
                      "type": "number"
                    },
                    "folders_done": {
                      "type": "integer"
                    },
                    "follow_added": {
                      "type": "integer"
                    },
                    "follow_failed": {
                      "type": "integer"
                    },
                    "resync_failed": {
                      "type": "integer"
                    },
                    "follow_refusals": {
                      "type": "integer"
                    },
                    "follow_closed_since": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "follow_closed_rounds": {
                      "type": "integer"
                    },
                    "follow_failing_since": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "follow_refused_since": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "follow_folders_failing": {
                      "type": "boolean"
                    }
                  }
                }
              },
              "stage": {
                "type": "string"
              },
              "token": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "created": {
                "type": "string",
                "format": "date-time"
              },
              "options": {
                "type": "object",
                "properties": {
                  "since": {
                    "type": "string"
                  },
                  "exclude": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "string"
                    }
                  },
                  "follow_days": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  }
                }
              },
              "started": {
                "type": "string",
                "format": "date-time"
              },
              "summary": {
                "type": "string"
              },
              "last_new": {
                "type": "string",
                "format": "date-time"
              },
              "can_retry": {
                "type": "boolean"
              },
              "following": {
                "type": "boolean"
              },
              "resyncing": {
                "type": "boolean"
              },
              "can_resync": {
                "type": "boolean"
              },
              "follow_days": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": "integer"
                }
              },
              "follow_note": {
                "type": "string"
              },
              "last_follow": {
                "type": "string",
                "format": "date-time"
              },
              "last_resync": {
                "type": "string",
                "format": "date-time"
              },
              "delete_after": {
                "type": "string",
                "format": "date-time"
              },
              "follow_added": {
                "type": "integer"
              },
              "follow_ended": {
                "type": "string",
                "format": "date-time"
              },
              "follow_since": {
                "type": "string",
                "format": "date-time"
              },
              "follow_until": {
                "type": "string",
                "format": "date-time"
              },
              "progress_url": {
                "type": "string"
              },
              "resync_added": {
                "type": "integer"
              },
              "follow_failed": {
                "type": "integer"
              },
              "resync_failed": {
                "type": "integer"
              },
              "resync_stopped": {
                "type": "boolean"
              },
              "needs_credentials": {
                "type": "boolean"
              },
              "resync_incomplete": {
                "type": "integer"
              },
              "microsoft_available": {
                "type": "boolean"
              },
              "resync_needs_passwords": {
                "type": "boolean"
              }
            }
          }
        },
        "summary": {
          "type": "string"
        },
        "moves_url": {
          "type": "string"
        },
        "all_finished": {
          "type": "boolean"
        }
      }
    },
    {
      "type": "object",
      "required": [
        "error"
      ],
      "properties": {
        "rows": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "object",
            "required": [
              "row",
              "problem"
            ],
            "properties": {
              "row": {
                "type": "integer"
              },
              "side": {
                "type": "string"
              },
              "problem": {
                "type": "string"
              },
              "provider": {
                "type": "string"
              }
            }
          }
        },
        "error": {
          "type": "string"
        },
        "damaged": {
          "type": "boolean"
        },
        "needs_passwords": {
          "type": "boolean"
        }
      }
    }
  ]
}
cancel_move annotations
{
  "title": "Stop a move",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
resync_move — Copy new mail now
Advertised by the server during the last successful anonymous check.
Open-world

For 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.

resync_move input schema
{
  "type": "object",
  "required": [
    "token"
  ],
  "properties": {
    "token": {
      "type": "string",
      "description": "The token returned by start_move."
    },
    "follow_days": {
      "type": "integer",
      "default": 0,
      "maximum": 30,
      "minimum": 0,
      "description": "Optional: afterwards keep copying new mail for this many days (0 = off)."
    },
    "new_password": {
      "type": "string",
      "description": "Only if the answer asked for it: the new mailbox's password (moves with one mailbox)."
    },
    "old_password": {
      "type": "string",
      "description": "Only if the answer asked for it: the old mailbox's password (moves with one mailbox)."
    }
  }
}
resync_move output schema
{
  "type": "object",
  "anyOf": [
    {
      "type": "object",
      "required": [
        "id",
        "status",
        "created",
        "pairs",
        "options",
        "needs_credentials",
        "can_retry",
        "microsoft_available",
        "following",
        "follow_added",
        "can_resync",
        "resync_needs_passwords",
        "resyncing",
        "resync_added",
        "summary",
        "progress_url"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "gone": {
          "type": "boolean"
        },
        "note": {
          "type": "string"
        },
        "ended": {
          "type": "string",
          "format": "date-time"
        },
        "pairs": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "object",
            "required": [
              "from",
              "to",
              "status",
              "total",
              "total_bytes",
              "done",
              "done_bytes",
              "failed",
              "folders",
              "folders_done"
            ],
            "properties": {
              "to": {
                "type": "object",
                "required": [
                  "email",
                  "ready"
                ],
                "properties": {
                  "path": {
                    "type": "string"
                  },
                  "port": {
                    "type": "integer"
                  },
                  "email": {
                    "type": "string"
                  },
                  "ready": {
                    "type": "boolean"
                  },
                  "server": {
                    "type": "string"
                  },
                  "protocol": {
                    "type": "string"
                  },
                  "security": {
                    "type": "string"
                  },
                  "username": {
                    "type": "string"
                  },
                  "microsoft": {
                    "type": "boolean"
                  },
                  "needs_password": {
                    "type": "boolean"
                  }
                }
              },
              "done": {
                "type": "integer"
              },
              "from": {
                "type": "object",
                "required": [
                  "email",
                  "ready"
                ],
                "properties": {
                  "path": {
                    "type": "string"
                  },
                  "port": {
                    "type": "integer"
                  },
                  "email": {
                    "type": "string"
                  },
                  "ready": {
                    "type": "boolean"
                  },
                  "server": {
                    "type": "string"
                  },
                  "protocol": {
                    "type": "string"
                  },
                  "security": {
                    "type": "string"
                  },
                  "username": {
                    "type": "string"
                  },
                  "microsoft": {
                    "type": "boolean"
                  },
                  "needs_password": {
                    "type": "boolean"
                  }
                }
              },
              "plan": {
                "type": [
                  "object",
                  "null"
                ],
                "required": [
                  "folders",
                  "messages",
                  "bytes",
                  "to_copy",
                  "to_copy_bytes",
                  "already_copied",
                  "folders_to_create"
                ],
                "properties": {
                  "bytes": {
                    "type": "integer"
                  },
                  "folders": {
                    "type": "integer"
                  },
                  "to_copy": {
                    "type": "integer"
                  },
                  "messages": {
                    "type": "integer"
                  },
                  "warnings": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "string"
                    }
                  },
                  "too_large": {
                    "type": "integer"
                  },
                  "to_copy_bytes": {
                    "type": "integer"
                  },
                  "already_copied": {
                    "type": "integer"
                  },
                  "folders_to_create": {
                    "type": "integer"
                  }
                }
              },
              "retry": {
                "type": "boolean"
              },
              "stage": {
                "type": "string"
              },
              "total": {
                "type": "integer"
              },
              "failed": {
                "type": "integer"
              },
              "folder": {
                "type": "string"
              },
              "result": {
                "type": [
                  "object",
                  "null"
                ],
                "required": [
                  "copied",
                  "already_there",
                  "skipped",
                  "failed",
                  "bytes",
                  "verified",
                  "found",
                  "missing"
                ],
                "properties": {
                  "bytes": {
                    "type": "integer"
                  },
                  "found": {
                    "type": "integer"
                  },
                  "copied": {
                    "type": "integer"
                  },
                  "failed": {
                    "type": "integer"
                  },
                  "missing": {
                    "type": "integer"
                  },
                  "seconds": {
                    "type": "number"
                  },
                  "skipped": {
                    "type": "integer"
                  },
                  "problems": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "object",
                      "required": [
                        "folder",
                        "uid",
                        "size",
                        "reason"
                      ],
                      "properties": {
                        "uid": {
                          "type": "integer"
                        },
                        "size": {
                          "type": "integer"
                        },
                        "folder": {
                          "type": "string"
                        },
                        "reason": {
                          "type": "string"
                        },
                        "repaired": {
                          "type": "boolean"
                        },
                        "saved_to": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "repaired": {
                    "type": "integer"
                  },
                  "verified": {
                    "type": "boolean"
                  },
                  "warnings": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "string"
                    }
                  },
                  "date_diffs": {
                    "type": "integer"
                  },
                  "flag_diffs": {
                    "type": "integer"
                  },
                  "copies_gone": {
                    "type": "integer"
                  },
                  "check_failed": {
                    "type": "boolean"
                  },
                  "already_there": {
                    "type": "integer"
                  },
                  "problems_more": {
                    "type": "integer"
                  },
                  "skipped_folders": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "object",
                      "required": [
                        "folder",
                        "reason"
                      ],
                      "properties": {
                        "folder": {
                          "type": "string"
                        },
                        "reason": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "unchecked_names": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "string"
                    }
                  },
                  "unchecked_folders": {
                    "type": "integer"
                  }
                }
              },
              "status": {
                "type": "string"
              },
              "folders": {
                "type": "integer"
              },
              "problem": {
                "type": [
                  "object",
                  "null"
                ],
                "required": [
                  "what"
                ],
                "properties": {
                  "fix": {
                    "type": "string"
                  },
                  "why": {
                    "type": "string"
                  },
                  "what": {
                    "type": "string"
                  },
                  "technical": {
                    "type": "string"
                  }
                }
              },
              "last_new": {
                "type": "string",
                "format": "date-time"
              },
              "retrying": {
                "type": "string"
              },
              "following": {
                "type": "boolean"
              },
              "done_bytes": {
                "type": "integer"
              },
              "retry_from": {
                "type": [
                  "object",
                  "null"
                ],
                "required": [
                  "status"
                ],
                "properties": {
                  "done": {
                    "type": "integer"
                  },
                  "plan": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "required": [
                      "folders",
                      "messages",
                      "bytes",
                      "to_copy",
                      "to_copy_bytes",
                      "already_copied",
                      "folders_to_create"
                    ],
                    "properties": {
                      "bytes": {
                        "type": "integer"
                      },
                      "folders": {
                        "type": "integer"
                      },
                      "to_copy": {
                        "type": "integer"
                      },
                      "messages": {
                        "type": "integer"
                      },
                      "warnings": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "items": {
                          "type": "string"
                        }
                      },
                      "too_large": {
                        "type": "integer"
                      },
                      "to_copy_bytes": {
                        "type": "integer"
                      },
                      "already_copied": {
                        "type": "integer"
                      },
                      "folders_to_create": {
                        "type": "integer"
                      }
                    }
                  },
                  "total": {
                    "type": "integer"
                  },
                  "result": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "required": [
                      "copied",
                      "already_there",
                      "skipped",
                      "failed",
                      "bytes",
                      "verified",
                      "found",
                      "missing"
                    ],
                    "properties": {
                      "bytes": {
                        "type": "integer"
                      },
                      "found": {
                        "type": "integer"
                      },
                      "copied": {
                        "type": "integer"
                      },
                      "failed": {
                        "type": "integer"
                      },
                      "missing": {
                        "type": "integer"
                      },
                      "seconds": {
                        "type": "number"
                      },
                      "skipped": {
                        "type": "integer"
                      },
                      "problems": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "items": {
                          "type": "object",
                          "required": [
                            "folder",
                            "uid",
                            "size",
                            "reason"
                          ],
                          "properties": {
                            "uid": {
                              "type": "integer"
                            },
                            "size": {
                              "type": "integer"
                            },
                            "folder": {
                              "type": "string"
                            },
                            "reason": {
                              "type": "string"
                            },
                            "repaired": {
                              "type": "boolean"
                            },
                            "saved_to": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "repaired": {
                        "type": "integer"
                      },
                      "verified": {
                        "type": "boolean"
                      },
                      "warnings": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "items": {
                          "type": "string"
                        }
                      },
                      "date_diffs": {
                        "type": "integer"
                      },
                      "flag_diffs": {
                        "type": "integer"
                      },
                      "copies_gone": {
                        "type": "integer"
                      },
                      "check_failed": {
                        "type": "boolean"
                      },
                      "already_there": {
                        "type": "integer"
                      },
                      "problems_more": {
                        "type": "integer"
                      },
                      "skipped_folders": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "items": {
                          "type": "object",
                          "required": [
                            "folder",
                            "reason"
                          ],
                          "properties": {
                            "folder": {
                              "type": "string"
                            },
                            "reason": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "unchecked_names": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "items": {
                          "type": "string"
                        }
                      },
                      "unchecked_folders": {
                        "type": "integer"
                      }
                    }
                  },
                  "status": {
                    "type": "string"
                  },
                  "following": {
                    "type": "boolean"
                  },
                  "done_bytes": {
                    "type": "integer"
                  },
                  "total_bytes": {
                    "type": "integer"
                  }
                }
              },
              "follow_note": {
                "type": "string"
              },
              "follow_temp": {
                "type": "integer"
              },
              "resync_temp": {
                "type": "integer"
              },
              "total_bytes": {
                "type": "integer"
              },
              "copy_seconds": {
                "type": "number"
              },
              "folders_done": {
                "type": "integer"
              },
              "follow_added": {
                "type": "integer"
              },
              "follow_failed": {
                "type": "integer"
              },
              "resync_failed": {
                "type": "integer"
              },
              "follow_refusals": {
                "type": "integer"
              },
              "follow_closed_since": {
                "type": "string",
                "format": "date-time"
              },
              "follow_closed_rounds": {
                "type": "integer"
              },
              "follow_failing_since": {
                "type": "string",
                "format": "date-time"
              },
              "follow_refused_since": {
                "type": "string",
                "format": "date-time"
              },
              "follow_folders_failing": {
                "type": "boolean"
              }
            }
          }
        },
        "stage": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "created": {
          "type": "string",
          "format": "date-time"
        },
        "options": {
          "type": "object",
          "properties": {
            "since": {
              "type": "string"
            },
            "exclude": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": "string"
              }
            },
            "follow_days": {
              "type": [
                "integer",
                "null"
              ]
            }
          }
        },
        "started": {
          "type": "string",
          "format": "date-time"
        },
        "summary": {
          "type": "string"
        },
        "last_new": {
          "type": "string",
          "format": "date-time"
        },
        "can_retry": {
          "type": "boolean"
        },
        "following": {
          "type": "boolean"
        },
        "resyncing": {
          "type": "boolean"
        },
        "can_resync": {
          "type": "boolean"
        },
        "follow_days": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "integer"
          }
        },
        "follow_note": {
          "type": "string"
        },
        "last_follow": {
          "type": "string",
          "format": "date-time"
        },
        "last_resync": {
          "type": "string",
          "format": "date-time"
        },
        "delete_after": {
          "type": "string",
          "format": "date-time"
        },
        "follow_added": {
          "type": "integer"
        },
        "follow_ended": {
          "type": "string",
          "format": "date-time"
        },
        "follow_since": {
          "type": "string",
          "format": "date-time"
        },
        "follow_until": {
          "type": "string",
          "format": "date-time"
        },
        "progress_url": {
          "type": "string"
        },
        "resync_added": {
          "type": "integer"
        },
        "follow_failed": {
          "type": "integer"
        },
        "resync_failed": {
          "type": "integer"
        },
        "resync_stopped": {
          "type": "boolean"
        },
        "needs_credentials": {
          "type": "boolean"
        },
        "resync_incomplete": {
          "type": "integer"
        },
        "microsoft_available": {
          "type": "boolean"
        },
        "resync_needs_passwords": {
          "type": "boolean"
        }
      }
    },
    {
      "type": "object",
      "required": [
        "error"
      ],
      "properties": {
        "rows": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "object",
            "required": [
              "row",
              "problem"
            ],
            "properties": {
              "row": {
                "type": "integer"
              },
              "side": {
                "type": "string"
              },
              "problem": {
                "type": "string"
              },
              "provider": {
                "type": "string"
              }
            }
          }
        },
        "error": {
          "type": "string"
        },
        "damaged": {
          "type": "boolean"
        },
        "needs_passwords": {
          "type": "boolean"
        }
      }
    }
  ]
}
resync_move annotations
{
  "title": "Copy new mail now",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
retry_move — Retry failed mailboxes
Advertised by the server during the last successful anonymous check.
Open-world

For a finished move where some mailboxes failed or did not get everything copied and checked, or where new mail could not be copied (move_status: can_retry, pairs[].retry), typically because a password was refused or a server refused messages or folders for a while: checks and copies those mailboxes again (messages that were not copied are tried again), with the stored passwords or the ones given. The other mailboxes are left alone (new mail of theirs keeps being copied). Like a re-sync it only adds messages to the new mailbox. If a password is missing or was refused, the answer says so (needs_passwords): ask the user for that password (move_status: pairs[].from/to.ready is false) and call again. With one failed mailbox use old_password / new_password; with several, passwords (one entry per mailbox, in the move's order; only the retried mailboxes are read). Then follow it with move_status (wait_seconds) until status is done or attention again, and tell the user the summary.

retry_move input schema
{
  "type": "object",
  "required": [
    "token"
  ],
  "properties": {
    "token": {
      "type": "string",
      "description": "The token returned by start_move."
    },
    "passwords": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "to": {
            "type": "string",
            "description": "Password of the new mailbox."
          },
          "from": {
            "type": "string",
            "description": "Password of the old mailbox."
          }
        }
      },
      "description": "Several failed mailboxes: passwords per mailbox in the move's order; empty strings keep the stored ones."
    },
    "new_password": {
      "type": "string",
      "description": "Only if the answer asked for it: the failed mailbox's new password (one failed mailbox)."
    },
    "old_password": {
      "type": "string",
      "description": "Only if the answer asked for it: the failed mailbox's old password (one failed mailbox)."
    }
  }
}
retry_move output schema
{
  "type": "object",
  "anyOf": [
    {
      "type": "object",
      "required": [
        "id",
        "status",
        "created",
        "pairs",
        "options",
        "needs_credentials",
        "can_retry",
        "microsoft_available",
        "following",
        "follow_added",
        "can_resync",
        "resync_needs_passwords",
        "resyncing",
        "resync_added",
        "summary",
        "progress_url"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "gone": {
          "type": "boolean"
        },
        "note": {
          "type": "string"
        },
        "ended": {
          "type": "string",
          "format": "date-time"
        },
        "pairs": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "object",
            "required": [
              "from",
              "to",
              "status",
              "total",
              "total_bytes",
              "done",
              "done_bytes",
              "failed",
              "folders",
              "folders_done"
            ],
            "properties": {
              "to": {
                "type": "object",
                "required": [
                  "email",
                  "ready"
                ],
                "properties": {
                  "path": {
                    "type": "string"
                  },
                  "port": {
                    "type": "integer"
                  },
                  "email": {
                    "type": "string"
                  },
                  "ready": {
                    "type": "boolean"
                  },
                  "server": {
                    "type": "string"
                  },
                  "protocol": {
                    "type": "string"
                  },
                  "security": {
                    "type": "string"
                  },
                  "username": {
                    "type": "string"
                  },
                  "microsoft": {
                    "type": "boolean"
                  },
                  "needs_password": {
                    "type": "boolean"
                  }
                }
              },
              "done": {
                "type": "integer"
              },
              "from": {
                "type": "object",
                "required": [
                  "email",
                  "ready"
                ],
                "properties": {
                  "path": {
                    "type": "string"
                  },
                  "port": {
                    "type": "integer"
                  },
                  "email": {
                    "type": "string"
                  },
                  "ready": {
                    "type": "boolean"
                  },
                  "server": {
                    "type": "string"
                  },
                  "protocol": {
                    "type": "string"
                  },
                  "security": {
                    "type": "string"
                  },
                  "username": {
                    "type": "string"
                  },
                  "microsoft": {
                    "type": "boolean"
                  },
                  "needs_password": {
                    "type": "boolean"
                  }
                }
              },
              "plan": {
                "type": [
                  "object",
                  "null"
                ],
                "required": [
                  "folders",
                  "messages",
                  "bytes",
                  "to_copy",
                  "to_copy_bytes",
                  "already_copied",
                  "folders_to_create"
                ],
                "properties": {
                  "bytes": {
                    "type": "integer"
                  },
                  "folders": {
                    "type": "integer"
                  },
                  "to_copy": {
                    "type": "integer"
                  },
                  "messages": {
                    "type": "integer"
                  },
                  "warnings": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "string"
                    }
                  },
                  "too_large": {
                    "type": "integer"
                  },
                  "to_copy_bytes": {
                    "type": "integer"
                  },
                  "already_copied": {
                    "type": "integer"
                  },
                  "folders_to_create": {
                    "type": "integer"
                  }
                }
              },
              "retry": {
                "type": "boolean"
              },
              "stage": {
                "type": "string"
              },
              "total": {
                "type": "integer"
              },
              "failed": {
                "type": "integer"
              },
              "folder": {
                "type": "string"
              },
              "result": {
                "type": [
                  "object",
                  "null"
                ],
                "required": [
                  "copied",
                  "already_there",
                  "skipped",
                  "failed",
                  "bytes",
                  "verified",
                  "found",
                  "missing"
                ],
                "properties": {
                  "bytes": {
                    "type": "integer"
                  },
                  "found": {
                    "type": "integer"
                  },
                  "copied": {
                    "type": "integer"
                  },
                  "failed": {
                    "type": "integer"
                  },
                  "missing": {
                    "type": "integer"
                  },
                  "seconds": {
                    "type": "number"
                  },
                  "skipped": {
                    "type": "integer"
                  },
                  "problems": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "object",
                      "required": [
                        "folder",
                        "uid",
                        "size",
                        "reason"
                      ],
                      "properties": {
                        "uid": {
                          "type": "integer"
                        },
                        "size": {
                          "type": "integer"
                        },
                        "folder": {
                          "type": "string"
                        },
                        "reason": {
                          "type": "string"
                        },
                        "repaired": {
                          "type": "boolean"
                        },
                        "saved_to": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "repaired": {
                    "type": "integer"
                  },
                  "verified": {
                    "type": "boolean"
                  },
                  "warnings": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "string"
                    }
                  },
                  "date_diffs": {
                    "type": "integer"
                  },
                  "flag_diffs": {
                    "type": "integer"
                  },
                  "copies_gone": {
                    "type": "integer"
                  },
                  "check_failed": {
                    "type": "boolean"
                  },
                  "already_there": {
                    "type": "integer"
                  },
                  "problems_more": {
                    "type": "integer"
                  },
                  "skipped_folders": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "object",
                      "required": [
                        "folder",
                        "reason"
                      ],
                      "properties": {
                        "folder": {
                          "type": "string"
                        },
                        "reason": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "unchecked_names": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "string"
                    }
                  },
                  "unchecked_folders": {
                    "type": "integer"
                  }
                }
              },
              "status": {
                "type": "string"
              },
              "folders": {
                "type": "integer"
              },
              "problem": {
                "type": [
                  "object",
                  "null"
                ],
                "required": [
                  "what"
                ],
                "properties": {
                  "fix": {
                    "type": "string"
                  },
                  "why": {
                    "type": "string"
                  },
                  "what": {
                    "type": "string"
                  },
                  "technical": {
                    "type": "string"
                  }
                }
              },
              "last_new": {
                "type": "string",
                "format": "date-time"
              },
              "retrying": {
                "type": "string"
              },
              "following": {
                "type": "boolean"
              },
              "done_bytes": {
                "type": "integer"
              },
              "retry_from": {
                "type": [
                  "object",
                  "null"
                ],
                "required": [
                  "status"
                ],
                "properties": {
                  "done": {
                    "type": "integer"
                  },
                  "plan": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "required": [
                      "folders",
                      "messages",
                      "bytes",
                      "to_copy",
                      "to_copy_bytes",
                      "already_copied",
                      "folders_to_create"
                    ],
                    "properties": {
                      "bytes": {
                        "type": "integer"
                      },
                      "folders": {
                        "type": "integer"
                      },
                      "to_copy": {
                        "type": "integer"
                      },
                      "messages": {
                        "type": "integer"
                      },
                      "warnings": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "items": {
                          "type": "string"
                        }
                      },
                      "too_large": {
                        "type": "integer"
                      },
                      "to_copy_bytes": {
                        "type": "integer"
                      },
                      "already_copied": {
                        "type": "integer"
                      },
                      "folders_to_create": {
                        "type": "integer"
                      }
                    }
                  },
                  "total": {
                    "type": "integer"
                  },
                  "result": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "required": [
                      "copied",
                      "already_there",
                      "skipped",
                      "failed",
                      "bytes",
                      "verified",
                      "found",
                      "missing"
                    ],
                    "properties": {
                      "bytes": {
                        "type": "integer"
                      },
                      "found": {
                        "type": "integer"
                      },
                      "copied": {
                        "type": "integer"
                      },
                      "failed": {
                        "type": "integer"
                      },
                      "missing": {
                        "type": "integer"
                      },
                      "seconds": {
                        "type": "number"
                      },
                      "skipped": {
                        "type": "integer"
                      },
                      "problems": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "items": {
                          "type": "object",
                          "required": [
                            "folder",
                            "uid",
                            "size",
                            "reason"
                          ],
                          "properties": {
                            "uid": {
                              "type": "integer"
                            },
                            "size": {
                              "type": "integer"
                            },
                            "folder": {
                              "type": "string"
                            },
                            "reason": {
                              "type": "string"
                            },
                            "repaired": {
                              "type": "boolean"
                            },
                            "saved_to": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "repaired": {
                        "type": "integer"
                      },
                      "verified": {
                        "type": "boolean"
                      },
                      "warnings": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "items": {
                          "type": "string"
                        }
                      },
                      "date_diffs": {
                        "type": "integer"
                      },
                      "flag_diffs": {
                        "type": "integer"
                      },
                      "copies_gone": {
                        "type": "integer"
                      },
                      "check_failed": {
                        "type": "boolean"
                      },
                      "already_there": {
                        "type": "integer"
                      },
                      "problems_more": {
                        "type": "integer"
                      },
                      "skipped_folders": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "items": {
                          "type": "object",
                          "required": [
                            "folder",
                            "reason"
                          ],
                          "properties": {
                            "folder": {
                              "type": "string"
                            },
                            "reason": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "unchecked_names": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "items": {
                          "type": "string"
                        }
                      },
                      "unchecked_folders": {
                        "type": "integer"
                      }
                    }
                  },
                  "status": {
                    "type": "string"
                  },
                  "following": {
                    "type": "boolean"
                  },
                  "done_bytes": {
                    "type": "integer"
                  },
                  "total_bytes": {
                    "type": "integer"
                  }
                }
              },
              "follow_note": {
                "type": "string"
              },
              "follow_temp": {
                "type": "integer"
              },
              "resync_temp": {
                "type": "integer"
              },
              "total_bytes": {
                "type": "integer"
              },
              "copy_seconds": {
                "type": "number"
              },
              "folders_done": {
                "type": "integer"
              },
              "follow_added": {
                "type": "integer"
              },
              "follow_failed": {
                "type": "integer"
              },
              "resync_failed": {
                "type": "integer"
              },
              "follow_refusals": {
                "type": "integer"
              },
              "follow_closed_since": {
                "type": "string",
                "format": "date-time"
              },
              "follow_closed_rounds": {
                "type": "integer"
              },
              "follow_failing_since": {
                "type": "string",
                "format": "date-time"
              },
              "follow_refused_since": {
                "type": "string",
                "format": "date-time"
              },
              "follow_folders_failing": {
                "type": "boolean"
              }
            }
          }
        },
        "stage": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "created": {
          "type": "string",
          "format": "date-time"
        },
        "options": {
          "type": "object",
          "properties": {
            "since": {
              "type": "string"
            },
            "exclude": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": "string"
              }
            },
            "follow_days": {
              "type": [
                "integer",
                "null"
              ]
            }
          }
        },
        "started": {
          "type": "string",
          "format": "date-time"
        },
        "summary": {
          "type": "string"
        },
        "last_new": {
          "type": "string",
          "format": "date-time"
        },
        "can_retry": {
          "type": "boolean"
        },
        "following": {
          "type": "boolean"
        },
        "resyncing": {
          "type": "boolean"
        },
        "can_resync": {
          "type": "boolean"
        },
        "follow_days": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "integer"
          }
        },
        "follow_note": {
          "type": "string"
        },
        "last_follow": {
          "type": "string",
          "format": "date-time"
        },
        "last_resync": {
          "type": "string",
          "format": "date-time"
        },
        "delete_after": {
          "type": "string",
          "format": "date-time"
        },
        "follow_added": {
          "type": "integer"
        },
        "follow_ended": {
          "type": "string",
          "format": "date-time"
        },
        "follow_since": {
          "type": "string",
          "format": "date-time"
        },
        "follow_until": {
          "type": "string",
          "format": "date-time"
        },
        "progress_url": {
          "type": "string"
        },
        "resync_added": {
          "type": "integer"
        },
        "follow_failed": {
          "type": "integer"
        },
        "resync_failed": {
          "type": "integer"
        },
        "resync_stopped": {
          "type": "boolean"
        },
        "needs_credentials": {
          "type": "boolean"
        },
        "resync_incomplete": {
          "type": "integer"
        },
        "microsoft_available": {
          "type": "boolean"
        },
        "resync_needs_passwords": {
          "type": "boolean"
        }
      }
    },
    {
      "type": "object",
      "required": [
        "error"
      ],
      "properties": {
        "rows": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "object",
            "required": [
              "row",
              "problem"
            ],
            "properties": {
              "row": {
                "type": "integer"
              },
              "side": {
                "type": "string"
              },
              "problem": {
                "type": "string"
              },
              "provider": {
                "type": "string"
              }
            }
          }
        },
        "error": {
          "type": "string"
        },
        "damaged": {
          "type": "boolean"
        },
        "needs_passwords": {
          "type": "boolean"
        }
      }
    }
  ]
}
retry_move annotations
{
  "title": "Retry failed mailboxes",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
forget_move — Delete a move
Advertised by the server during the last successful anonymous check.
Advertised destructive

Only when the user asks for it: stops the move and deletes what mail2mail keeps for it at once (addresses, servers, progress, the stored passwords; only the statistics line remains, and the server log for 14 days). The mail already copied stays in the new mailbox. The token stops working.

forget_move input schema
{
  "type": "object",
  "required": [
    "token"
  ],
  "properties": {
    "token": {
      "type": "string",
      "description": "The token returned by start_move."
    }
  }
}
forget_move output schema
{
  "type": "object",
  "anyOf": [
    {
      "type": "object",
      "required": [
        "ok"
      ],
      "properties": {
        "ok": {
          "type": "boolean"
        }
      }
    },
    {
      "type": "object",
      "required": [
        "error"
      ],
      "properties": {
        "rows": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "object",
            "required": [
              "row",
              "problem"
            ],
            "properties": {
              "row": {
                "type": "integer"
              },
              "side": {
                "type": "string"
              },
              "problem": {
                "type": "string"
              },
              "provider": {
                "type": "string"
              }
            }
          }
        },
        "error": {
          "type": "string"
        },
        "damaged": {
          "type": "boolean"
        },
        "needs_passwords": {
          "type": "boolean"
        }
      }
    }
  ]
}
forget_move annotations
{
  "title": "Delete a move",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

Too few checks for a percentage yet (6 of 6 answered).

  1. 2026-11-27: 4 of 4 checks answered
  2. 2026-11-28: 2 of 2 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
1 of 1 (100%)
Average latency
1483 ms
95th percentile latency
1483 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 1483 ms · metadata changed · 7 tool(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http mail2mail-link-mcp https://mail2mail.link/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add mail2mail-link-mcp --url https://mail2mail.link/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable mail2mail-link-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "mail2mail-link-mcp": {
      "url": "https://mail2mail.link/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "mail2mail-link-mcp": {
      "type": "streamableHttp",
      "url": "https://mail2mail.link/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start mail2mail-link-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "mail2mail-link-mcp": {
      "type": "http",
      "url": "https://mail2mail.link/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http mail2mail-link-mcp https://mail2mail.link/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://mail2mail.link/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "mail2mail-link-mcp": {
      "serverUrl": "https://mail2mail.link/mcp"
    }
  }
}

Let your agent find its tools

Find servers like mail2mail.link MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.