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?
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.