Elektrine lite

← Feed

@gedfromgont@piefed.ca

E-mail archive browser for gmail takeout files (.mbox)

2026-07-19 18:29 UTC

I have started moving away from gmail and have started exporting my older e-mails via the takeout option. This generates .mbox files. I don’t really use any e-mail clients on my computer and do most of my e-mailing on my phone, so I don’t have a way of viewing/searching those files. Therefore I was wondering if there is any selfhosted option for some kind of e-mail archive/viewer with decent search function that anyone can recommend? Specifically something capable of handling those .mbox files. I found a few projects that sounded promising, but they seemed either dead, weren’t setup for selfhosting or could only connect directly to the mailboxes. So I thought I’d ask here if anyone has experience with this, maybe some recommendations? Also open to alternative approaches what to do with those files. I just would like to delete these mails from gmail entirely, but that requires I can search them with as much ease as I can on gmail with a local option. Thanks!

Replies (3)

  • @fatcat@discuss.tchncs.de 2026-07-19 18:54

    Alternative approach: I imported the mails to my new mail hoster and just archived the mbox files just in case. Can be done by installing a mail client temporarily to upload or some mail hosters provide an option to import from gmail (in my case that was proton)

    Open ##4133275

  • @irmadlad@lemmy.world 2026-07-19 19:09

    I don’t really use any e-mail clients on my computer Curious as to why. Is it a security issue or is it just not convenient… Thunderbird will import .mbox files but you’ll need a plugin called ImportExportTools NG. Import: Mbox files (including structure) EML & EMLX files Individual or all directory files

    Open ##4141211

  • “GMail takeout files” aren’t a thing. mbox is a standard file format from Unix. Some Unix-likes provide the mail command and on others you have to install s-nail, after which you can do mail -f {path to mbox} to view all mail inside. If there are multiple files, you can literally just concatenate them like so: cat /somedirectory/*.mbox > theultimate.mbox. Apart from that, most GUI mail clients allow viewing mbox. When the mbox file updates, the client says you have new mail. For example, in Claws Mail, skip setup, then go to plugins and enable the mbox plugin (while you are there, may as well enable pgp, s/mime, calendar, dillo to handle all formats). Then, go to create new account, and in the “Basics” tab, select “local mbox file” for “Receive”. It will then ask for a file path.

    Open ##4150951