This is one reason I switched to Apple's mail services. Apple's client is 100% offline and it all just sort of works without having to fuck around with IMAP settings.
How come? No jokes, even free tool like thunderbird has local cache, not even mentioning The Bat and Outlook.