I have used Google Takeout to export a specific folder/label of my Gmail into a .mbox
file. Now, I need to convert it to a .pst
format to import it into Microsoft Outlook.
Given the confidential nature of the information, I prefer not to use proprietary freemium software or online services for the conversion. I'm specifically looking for Free, libre, and Open-Source Software (FLOSS) to install on my Windows OS to perform this task.
Alternatively, I'm open to writing a script (preferably in Python or PowerShell) to achieve the conversion (I have tried pypff and Gmail's Python API so far to no avail). One approach could be to use an email client like Mozilla Thunderbird to process the .mbox file and export the emails in a format that Outlook can import (e.g., here).
The primary goal is to import the filtered set of emails from Gmail (e.g., the .mbox
file) into MS Outlook. I would greatly appreciate any suggestions on FLOSS tools or script-based solutions.