Emailchemy is a Mac app for moving email between mail clients and formats. It converts mailboxes from one format to another and can also be used to archive email. It is aimed at people who need to switch mail programs or keep old messages in a readable form.
The app runs on macOS and is distributed through Homebrew. The facts available do not list a license or pricing model, so check the maker's website for those details before relying on it for a large migration.
Alternatives to Emailchemy
Products that do a similar job in Files & Sync.
LocalSend
Sends files between devices on the same local network
QLMarkdown
Quick Look previews for Markdown files on macOS
Cyberduck
File transfer and cloud storage browser for Mac
The Unarchiver
Unpacks zip, rar, 7z and other archive formats on macOS
AnyDesk
Remote desktop software for connecting to another computer
Syncthing
Peer-to-peer file synchronisation between your own devices
OpenMTP
Android file transfer client for Mac
Mounty
Mounts write-protected NTFS drives with write access on macOS