@xpollen8 @shabbychef I'll put something on github soon but basically:
- sqlite3 with JSON1 and FTS5 extensions
- walk email tree with a mail parser that produces json
- save json to sqlite
- make a simple table (id, from, subject, body) and populate from json
- add full text index