Ok, I misread your comment then. I thought you meant some sort of a tool/web gui which fastmail provides but others don't.
Do those privacy focused providers even prohibit the import of mails via IMAP from your local computer? At least for isync/mbsync this not relevant and it seems to me that this a very basic operation of the IMAP protocol... (I'm not a CS person, don't weigh my words.)