fetchmail
POP3/IMAP mail-retrieval utility.
fetchmail is a long-standing tool for downloading mail from remote POP3 or IMAP accounts and feeding it into a local MTA. It was historically maintained by Eric Raymond.
Install
Debian/Ubuntu: sudo apt install fetchmail
