Anyone shopping for software to save their webmail locally should test what happens when you unplug the network cable halfway through a 5 GB download. Plenty of the budget utilities spammed across forum threads look identical on the outside, right down to the interface buttons and screenshots, and most of them fall apart the second your home Wi-Fi blips or the remote mail server drops an idle socket connection. Instead of picking up where they left off, they either corrupt the half-written PST file on your local disk or start over from message #1 and write duplicates on top of what they already pulled.
Look closely at how the program stores your mail on disk too. Saving ten years of correspondence into a locked-down proprietary format is useless if the software vendor disappears in two years, or if you need to read the archive on a different computer without buying another license. Mail Backup X has held up well for my own
IMAP backup routine on both Windows and Mac because it handles dropped connections through incremental checkpoints without duplicating messages, and whenever I need standard files I can export any folder straight out to PDF, MBOX, EML, or PST.
Between the two free options mentioned upthread, Thunderbird Local Folders and MailStore Home, MailStore Home is way less prone to human error on Windows. With Thunderbird, simply adding your account isn't enough; even if 'Keep messages for this account on this computer' is checked in Synchronization & Storage, it's still a live two-way mirror until you physically copy the messages out to Local Folders on your drive.
If you go the Thunderbird route on Windows, do these three things so you don't get burned:
1.
Go to Account Settings > Synchronization & Storage and verify that message size limits aren't ticked, or large attachments won't download.
2.
Copy (don't move) folders into Local Folders in smaller batches of a few hundred messages so a dropped socket doesn't eat emails in transit.
3.
Switch Thunderbird to Offline Mode (`File > Offline > Work Offline`) and open a few old attachments to confirm the full bodies are on your disk.
MailStore Home avoids that manual dragging, though the free edition still requires you to remember to click 'Run' manually every time you want an update.
If you want an automated imap backup on Windows that runs silently in the background without manual clicks, Mail Backup X schedules continuous syncs and encrypts your local archive automatically.