this post was submitted on 19 Jul 2026
66 points (98.5% liked)

Selfhosted

60810 readers
516 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

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!

you are viewing a single comment's thread
view the rest of the comments
[–] irmadlad@lemmy.world 10 points 1 day ago* (last edited 1 day ago) (3 children)

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
[–] gedfromgont@piefed.ca 4 points 23 hours ago (2 children)

Not convenient. My computer is actually a docked Steamdeck I only use occasionally in Desktop mode. I know lots of people will frown at that, but I do 99% of anything I do (aside from gaming), on my phone since a long time ago. For work I have a work laptop and I surely wouldn't want to store my mails there.

So having Thunderbird on my Steamdeck for browsing old e-mails is just not convenient for me.

My small homeserver is part of a backup strategy, so putting something on it reachable via a webUI of some sort will also ensure all of that is backed up. Since my Steamdeck is mostly games and many saves are stored in the cloud automatically, I don't back it up as much, not worth the effort.

[–] irmadlad@lemmy.world 2 points 14 hours ago

OK That's cool. Didn't know what your set up was like. So, scratch ~~Thunderbird~~. LOL

[–] passenger@sopuli.xyz 2 points 22 hours ago

I would recommend pika for easy backup, steamdeck (or even a windows pc) could have problems with cloud saves. If you want real backups you should set up deduplicated archives. This means you just install pika and click a couple times. You can set it to backup over ssh. The deduplicated compressed backup is often smaller than source data size even if it has years of archives.

[–] harmbugler@piefed.social 7 points 1 day ago

A nice, simple solution of having a file and an app that can read that file. Hard to believe people are suggesting setting up a whole e-mail server to read one file.

[–] emb@lemmy.world 5 points 1 day ago

Was just recently trying to figure out how to browse my mbox backup, and wound up at the same solution.

I'm stunned that it's part of a plugin, and not a standard feature. Didn't see many other actively maintained programs that made it easy either.