mboxviewer icon indicating copy to clipboard operation
mboxviewer copied to clipboard

Feature Request - Add email size as a field in print to .csv

Open Ale-g-g opened this issue 3 months ago • 5 comments

Hi! First of all, thank you for such a useful, light, fast and lovely program! I use it and I love it!!

I would like to ask, if this would not cause a big overhead, if is possible to add each email's size to the csv printing option. This could be very useful to those, like me, that need to clean our mailboxes after many years of not taking care of it :). This feature could allow us to quickly analyze in an spreadsheet and get rid of the most "annoying" senders.

Kind regards, thanks in advance!

Ale-g-g avatar Oct 13 '25 13:10 Ale-g-g

@Ale-g-g

Happy you find MBox Viewer useful. Typically I try to understand what the user tries to achieve before committing to make changes assuming changes are doable. What mailboxes would you like to clean "after many years of not taking care of it" ? Do you refer to to mailboxes residing at the service provider such as gmail or downloaded .mbox from the service provider ?

MBox Viewer can't cleanup .mox file directly. See work around #73

zigm avatar Oct 14 '25 03:10 zigm

Hi there @zigm! Sorry that my previous explanation wasn’t clear enough — I’ll try to describe it better this time.

I usually use Gmail directly as my main email client, but once or twice a year I also use MBox Viewer when I create a backup of my old emails. Specifically, I download my entire inbox from Google Takeout as a .mbox file, and then open that file in MBox Viewer.

Within MBox Viewer, I’d like to export a list of emails to a .csv file that includes the same details visible in the UI: Date, From, To, Subject and Size. Currently, the CSV export includes all of those fields except for Size.

Would it be possible to add the email size (including attachments) to the “Print to CSV” feature?

Having this information in the CSV would make it much easier to analyze the data in Excel — for example, to identify which senders take up the most storage space in the mailbox. (In my case, it’s my father — he sends me all his photos and videos by email! 😄) and then, go to gmail to bulk-delete all by sender, for example

Thank you very much!

Ale-g-g avatar Oct 17 '25 12:10 Ale-g-g

Hi Garcia,

I agree that having all information in spreadsheet allows you to do more detail analysis of senders, etc.

However I wonder if you would perform bulk delete of a sender without examining each email ?

If are willing to delete all mails from a sender, then yes using spreadsheet may help, otherwise you may just rely on Gmail advanced filter and find all mails larger than X from any or specific sender.

I should probably add Size column day one. I will add Size column in the next release. I usually try to release more than one fix and/or enhancement.

Thnaks

zigm avatar Oct 20 '25 16:10 zigm

Hi @zigm,

yes, you are right about the advanced filters in Gmail, or others, for a bit more clarification: Sometimes the advanced filters are not enough. The purpose of having a kind of spreadsheet is, as you correctly described, to bulk delete, for example, mailing subscriptions that contain many attachments; so single sender that is using quite a lot of storage in many, small/medium sized emails.

Thank you very much for your attention and dedication.

*I am sure that as soon as you add this feature and people get to know it, there will be more than one like me finding mboxviewer as the perfect tool :)

Ale-g-g avatar Oct 23 '25 13:10 Ale-g-g

I released v1.0.3.53 of MBox Viewer to support an option to add mail Size column when printing to CSV file. Please verify and provide feedback.

This load fixes processing of the date and time broken in v1.0.3.49.

zigm avatar Nov 20 '25 06:11 zigm