I just wanted to say that email clients are not keeping ALL messages when they are using IMAP - in the opposite to POP3.
That's not true. It is the design of only/mostly
mobile e-mail clients (but even some of those might be configurable in some) to keep only
N recent messages, not the property of IMAP. The laptop/desktop-based clients can keep either ALL messages or information (mailheaders) about ALL messages.
E.g., an email account set up in Outlook to use POP downloads all your new mail on the server and stores them in a PST file on your local computer. Thunderbird handles POP much the same way. You can always count on having all your mail on your device using POP.
You are missing one of the main points I made earlier: Thunderbird (and other IMAP-based clients) can be setup to download and keep
all complete messages. That way all what you said about POP3 will be applicable to IMAP.
So, you can emulate almost all behavior of a POP3-based connection via IMAP.
There is only one thing that is hard to emulate: in all IMAP clients that I know it is very hard or even impossible to completely block synchronization of all the changes happening on the IMAP client back to the server. I.e. it is hard to make the IMAP connection looking as if it were a 1-way connection. 🙂