This guide will show you how to download all email from a Fastmail account and scan for PII.
Fastmail has an IMAP interface that we can use to download all the email from an account.
If you only have a few folders you can use the export feature.
You can export your mail by going to Settings → Migration and clicking the Export tab. Click New mail export, and follow the steps on the screen to choose the folder and date range. Once the export has finished, click Download.
Mail will be downloaded in a .zip
file on your desktop. Only one folder can be downloaded at a time, so these steps will need to be repeated for each folder you wish to download and export. They currently limit exports to 4 GB at a time.
This takes a bit a of time. They will send you a download link via email when the export is ready.
./piicrawler scan <path-to-export-zip>
./piicrawler scan ~/Downloads/Fastmail-export.zip
PII Crawler will scan each email within the zip file and all attachments embeded in the email.
./piicrawler serve
Open a web browser and navigate to http://localhost:8080/
to view the results.
💌 Get notified on new features and updates