Crates.io | gmail-mbox-analyzer |
lib.rs | gmail-mbox-analyzer |
version | 0.1.0 |
source | src |
created_at | 2024-06-07 04:39:54.549976 |
updated_at | 2024-06-07 04:39:54.549976 |
description | analyze gmail mbox files |
homepage | |
repository | https://github.com/chadaustin/gmail-mbox-analyzer |
max_upload_size | |
id | 1264393 |
size | 112,059 |
If your Google Mail is full and you want to understand why, gmail-mbox-analyzer may help.
This tool has two functions:
cargo install gmail-mbox-analyzer
sudo apt install libsqlite3-dev
First, retrieve your mbox file from Takeout.
Then, from a command line, convert it to a SQLite database:
gmail-mbox-analyzer index "All mail Including Spam and Trash.mbox" mail.sqlite
Finally, load the report view:
gmail-mbox-analyzer report mail.sqlite
It will tell you to load a URL like http://localhost:31200/
This software wouldn't exist without the excellent mbox-reader, mail-parser, and rusqlite crates. With them, it only took a few evenings.
Special thanks to actix-web, [https://docs.rs/tera/], and [https://docs.rs/humansize/].