PS1607 / mbox-to-json

A small package that converts MBOX files to JSON(or CSV). Also includes functionality to extract attachments.
https://pypi.org/project/mbox-to-json/
MIT License
24 stars 3 forks source link

how to skip attachments #17

Open tavdog opened 1 month ago

tavdog commented 1 month ago

attachments are making the output very large. I would like just the text of the message and no binary attachments. Is there a way to do this ?

PS1607 commented 3 weeks ago

Hi @tavdog

The .mbox file that I use for testing has multiple attachments, and even inline images, but I don't see them in the outputted CSV/JSON.

If possible, can you share an example mbox file and some screenshots?