No description
- Python 100%
| logs | ||
| output | ||
| src/gmail_stats | ||
| .gitignore | ||
| .python-version | ||
| pyproject.toml | ||
| README.md | ||
| uv.lock | ||
GMail Stats
Usage
uv run gmail-stats
General Idea
-
Use mbox format from Google
The mbox format is the classic format for storing mail on Unix systems.
-
Read in batches
-
Convert each batch of emails into a list of dicts. Needs to handle:
- Header decoding
- Multipart messages
-
Convert list of dicts into DataFrames
-
Write DataFrames to parquet format
-
Query with duckdb