Based on our record, getmail seems to be more popular. It has been mentiond 3 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.
I'm using getmail (https://pyropus.ca./software/getmail/) as a cronjob every night to download it all and then sync with an offsite backup. - Source: Hacker News / over 1 year ago
From there, I run a self-implementation of getmail inside of a Docker container to automatically fetch/copy my e-mails from various POP/IMAP providers on a regular (5-minute) interval. Getmail is incredibly flexible, and allows me to delete e-mail upon fetch for personal accounts, leave mail on the server for "shared accounts", etc. Source: over 2 years ago
I have used a utility called getmail for a couple of decades. Except for the json part, it seems to do what you want... Source: almost 3 years ago
MailStore - MailStore Home - A 100% free single-private-user desktop solution
Fetchmail - The Fetchmail Project
imapsync - Console-based utility for migrating IMAP mailboxes.
iSync - iSync is a software application published by Apple Inc.
MozBackup - Backup tool for Firefox and Thunderbird
Gmvault - Backup the emails in your Gmail account.