My wife works in a workplace filled with drama. She wants to keep an archive of her work emails without forwarding them to herself.
She already has access to her work email (Exchange) from home, and we already know how to archive emails by exporting them from Apple Mail.
I have a Raspberry Pi 4 with Alpine Linux. Is there any command line utility that can connect to the email server as a regular client and manage archiving?
Unless her workplace disabled it, MS Exchange should support POP3/IMAP4 so you should be able to just hook any old client up (i.e. thunderbird) and disable delete syncing.
Yeah, I should’ve checked this out before posting. I’m not sure whether they’ve disabled that or not.
If you are comfortable with the command line, mbsync / isync allow you to save your mail offline with the ability to search and read it later on. You can use a cron job to fetch the email however often you want it.
I should’ve clarified that the command line is actually my preferred way of doing it. Our personal devices aren’t on 24/7 (laptops) so automating it the traditional Linux/UNIX way™ is preferable.