Skip to main content
Glama

mail2mail.link

Start a mailbox move

start_move

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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "accept_terms": "<accept_terms>"
    },
    "name": "start_move"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNoOptional: only copy messages received after this day (YYYY-MM-DD).
excludeNoOptional folder names (or patterns with *) not to copy, e.g. ["Spam", "Trash"].
languageNoOptional: language of the pages linked in the answer (default en).
mailboxesNoSeveral 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_emailNoOne mailbox: address of the mailbox to copy to.
old_emailNoOne mailbox: address of the mailbox to copy from. For several, use mailboxes instead.
new_serverNoIMAP 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_serverNoOptional 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_daysNoOptional: 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_termsYestrue only after the user has seen and accepted the terms and the privacy notice.
new_passwordNoOne mailbox: password or app password of the new mailbox (empty for Microsoft).
new_usernameNoOne mailbox: optional login name, only if it is not the e-mail address.
old_passwordNoOne mailbox: password or app password of the old mailbox (empty for Microsoft).
old_usernameNoOne mailbox: optional login name, only if it is not the e-mail address.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=true. The description adds substantial context beyond that: nothing is deleted or changed in old mailboxes, no duplicate copies, follow-up copying for follow_days, password encryption and deletion lifecycle, that the server can read mail during the operation, and the terms/privacy acceptance gate before accept_terms may be set.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and nearly every sentence carries operational information, but the description is an unusually long unbroken block with no paragraph breaks or bullets, and some points (progress_url/moves_url, password storage) are restated. It is dense rather than wasteful, yet harder to scan than it needs to be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 14-parameter, open-world mutation tool with an output schema, the description covers the essential operational facts: prerequisites (terms acceptance), credential handling, follow-up behavior, server-selection pitfalls, and next steps (move_status, progress_url). Nothing an agent needs to call it correctly appears missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents all 14 parameters and the baseline is 3. The description still adds meaning: the mailboxes-vs-single-field relationship, why new_server is required for same-domain moves, the rationale for keeping follow_days at its default, and the accept_terms precondition. It stops short of detailing every field, but the marginal value is real.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource: copies all e-mail (every folder) from old mailboxes to new ones, one mailbox or up to 50. It explicitly distinguishes itself from siblings (move_status, resync_move, forget_move, find_mail_server), so an agent can tell what this tool does and does not do without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to guidance: put several mailboxes in one move rather than one move each, call start_move multiple times only for separate moves with different options, set new_server when the address stays the same or domains match, leave the password empty for Microsoft 365, and use app passwords for Gmail/iCloud/Yahoo. It also names the alternatives (resync_move, move_status, find_mail_server) and the conditions that select them.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources