It's not that clear from the website but you should find imapsync in your distribution's package repo if you want to try it before supporting the author. I don't doubt the "no questions asked" refund policy, but I'm done fighting for my money back after bad experiences in the app stores.
It comes with the author's custom "no limits" licence (looks a lot like the WTFPL), so it probably qualifies as free & open source, but you don't get a support contract of course.
The author's site also has a "give me your IMAP credentials and I'll migrate your mailbox for you, free up to a size limit" service, https://imapsync.lamiral.info/X/ , which boggles the mind. On principle I couldn't trust it.
Thunderbird doesn't prompt for this while connecting like a web browser does. It fails to connect without a clear warning in this case.
Full shameful disclosure: Since my backup is only locally accessible on a trusted network I used insecure IMAP on port 143
[1]: https://serverfault.com/questions/532172/thunderbird-not-tru...