Skip to content
IMAP Transfer
English
Download

Back up and
move your mail

Switch providers without losing a single message, or back up your mailbox before you cancel it. Free, for macOS, Windows and Linux.

IMAP Transfer with three accounts in the sidebar. The open account offers back up, restore, migrate and optimize; its migration target is the same address on another server.

One file per message

A backup is an ordinary folder: one .eml file per message, sorted like your account. Every mail program opens these files, with or without IMAP Transfer.

  • After the first run, only new mail is fetched.
  • Mail you delete in the account stays in the backup.
  • An mbox export takes everything to Thunderbird or Apple Mail.
anna@example.com/
├── README.txt
├── imaptransfer.db
└── mail/
    ├── INBOX/
    │   ├── 2024-05-03_Invoice May_3f2a9c01b4.eml
    │   └── 2024-05-06_Lunch on Friday_8c41d27e90.eml
    ├── Archive/
    │   └── 2023/
    │       └── 2023-11-20_Contract_b7e0a5f312.eml
    └── Sent/
        └── 2024-05-04_Offer for the garden_51d9c0e6a8.eml
The backup of anna@example.com on disk. The index next to the mail remembers folders, flags and dates.
The plan of a migration from hello@example.org on imap.example.net to the same address on mail.example.org: a notice that nothing changes in the source, the Sync option, and five folders with their targets and message counts.

From provider to provider

Choose the target account, and IMAP Transfer shows every folder and where it goes: Sent becomes Sent Items, a missing folder is created. Mail that is already there is skipped.

The old account stays as it is. The migration only reads from it.

Until you have switched over, Sync keeps the new account in step with the old one: what you delete or move there happens here too.

Before you ask

Stop whenever you like

Close the laptop or lose the connection: the next run continues where the last one ended, without a single duplicate.

Duplicates cleaned up

A test run lists every exact copy and changes nothing. Only then do you decide; one of each message stays.

Any IMAP provider

Gmail, Outlook, iCloud, GMX, WEB.DE, T-Online, IONOS, Posteo and every other. The app knows their settings and tells you what to prepare.

Gmail labels kept

A message with five labels is stored once and goes back into all five when you restore it.

On the command line

The same engine runs on servers, NAS boxes and from cron, as imaptransfer. It needs Node.js 22.18 or newer, or Docker.

Exit codes tell a script what happened: 0 done, 2 done but some messages failed, 1 failed, 130 stopped.

# Back up; later runs only fetch what is new
npx imaptransfer backup ~/Backups/anna --user anna@example.com

# Every night at 2:00 (crontab -e)
0 2 * * * imaptransfer backup /srv/backups/anna --user anna@example.com --password-file /root/.anna-imap --quiet

# Move an account and keep it in step
imaptransfer migrate --from-user anna@example.com --to-user anna@example.org --sync

# On a NAS
docker run --rm -v /volume1/backups/anna:/backup -e IMAPTRANSFER_PASSWORD \
  ghcr.io/scherhans/imaptransfer backup /backup --user anna@example.com

Download

Version 0.2.3, released on 24 November 2026. Checksums: SHA-256.

IMAP Transfer is free, and liability is limited accordingly. Back up your mail before you restore, migrate, sync or clean up. About liability

macOS

A disk image. Apple silicon for Macs with an M chip, Intel for older Macs.

  • Apple silicon 121 MB

    SHA-256 ec0f461ed43d36da5800e196a6e0ddae8c45b93fde85e8513a8859ec60270f8d

  • Intel 128 MB

    SHA-256 48676bf590f597f77c3167bf273310ed8efd41432c0300078e46423c15999c86

Windows

An installer. Intel and AMD for most PCs, ARM for laptops with a Snapdragon chip.

  • Intel and AMD 122 MB

    SHA-256 3fbe2da1648b6471f9f8603a96c7a9bf051082928c73928e1710e2b8fd70ac62

  • ARM 116 MB

    SHA-256 bc316360851eb1dcd57fbe9be8c3c632ebc9ef4857675acf33da3af95edfcf09

Linux

The AppImage runs almost anywhere, the .deb package on Debian and Ubuntu.

  • AppImage, x64 126 MB

    SHA-256 1b810ca6407dbdb9ada03942021087998f42d9493d2fdeaf572156454f4e354f

  • .deb, x64 102 MB

    SHA-256 035e61912b1bb47680e6e3af7e97a3046d8acdca50cb5b20a1ce787669a644b4

  • AppImage, ARM64 128 MB

    SHA-256 1409a623eeb939ec46223d81e804a105508d850e96c70a8f3e6557fb13bf26ab

  • .deb, ARM64 97 MB

    SHA-256 f4dd521aa8c34230e15172143eac4629177ad069ea7c79c0274621884f0245b0

Check the file

Drop the downloaded file here, or choose it. Your browser computes the checksum itself and compares it with the checksums above; the file does not leave your computer.

Or in a terminal:

  • macOSshasum -a 256 ~/Downloads/imaptransfer-0.2.3-mac-arm64.dmg
  • Windows (PowerShell)Get-FileHash $HOME\Downloads\imaptransfer-0.2.3-windows-x64.exe
  • Linuxsha256sum ~/Downloads/imaptransfer-0.2.3-linux-x86_64.AppImage