Howdy folks!

Would love to hear how people manage their personal inbox[es]. I am looking for ideas on how to best archive mail, while possibly still making it accessible.

Has anyone implemented something where, let’s say, after 2 weeks, emails are stored on some type of self-hosted service, leaving minimal footprint on the cloud?

OpenArchiver was one of the first things I had come across, but, again, just brainstorming and looking for other options, even feedback on OpenArchiver.

Thank you in advance!

  • surewhynotlem@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    9 hours ago

    I’m loving Openarchiver. I delete email from the cloud after I read it and have the trash auto-empty after 30 days. OA is quick about grabbing new mail.

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 hours ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    DNS Domain Name Service/System
    IMAP Internet Message Access Protocol for email
    ISP Internet Service Provider
    IoT Internet of Things for device controllers
    NVMe Non-Volatile Memory Express interface for mass storage
    POP3 Post Office Protocol v3, for email; contrast IMAP
    SMTP Simple Mail Transfer Protocol
    TLS Transport Layer Security, supersedes SSL
    VPN Virtual Private Network
    VPS Virtual Private Server (opposed to shared hosting)
    k8s Kubernetes container management package

    [Thread #181 for this comm, first seen 25th Nov 2026, 20:20] [FAQ] [Full list] [Contact] [Source code]

  • lemmyvore@feddit.nl
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 days ago

    Yes what you describe is exactly what I’m doing. You don’t need any fancy apps for it, in fact it’s best if you keep it simple and do it all with IMAP.

    Now, your email provider needs to support IMAP. Normally I wouldn’t even mention this but the so-called “encrypted mail” providers like Proton make you jump through hoops so it’s not a given. (Personally I never use a provider that doesn’t offer straight IMAP, smells too much of potential lock-in.)

    You also want to self-host a private IMAP server. It’s the easiest way to handle things. Dovecot is pretty easy to set up and very good.

    (You can sync to disk as plain text files if you want but you’ll have to choose a format, and actually using those files can be awkward. Syncing to a live IMAP is ideal IMO.)

    Then you just use the mbsync or imapsync CLI tool on a schedule to bring in messages from the live mailbox(es) to the private ones.

    You can also self-host a webmail app for the private IMAP server (I like Snappy and Roundcube) that you can access securely through a reverse proxy and search your emails or you can even configure it to send through the provider’s SMTP.

    You can keep using other email clients with the live mailbox during this time.

    after 2 weeks, emails are stored on some type of self-hosted service, leaving minimal footprint on the cloud?

    Neither mbsync nor imapsync have this feature AFAIK so you’ll have to use a different tool for that.

    I achieve this in my desktop email client (Claws Mail) which has this option for POP3.

    If you want to script and automate this cleanup there are CLI tools that can do it, for example imapfilter (which takes a Lua config script) or you can put together a Python script using the imapclient library (available in pip).

    Hope this helps.

    • seanland@lemmy.sean.landOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      I actually never thought of going this route. I just figured there are a slew of options out there, but, not much feedback on them. I still have to fine tune all of my goals with how I want to set it up. The short vision, was to minimize my inbox and clean up what I want to retain. It’s also part of a bigger project to migrate off of gmail fully and have the ability to be flexible with the service I use, or if I host my email myself through whatever medium.

      I appreciate you calling out the required IMAP support, I do use Proton as well. There is a bridge for some IMAP functionality for Proton, but, if I recall correctly it is limited. I use it for tagging and organization right now.

      This definitely helps. Thank you for sharing!

      • lemmyvore@feddit.nl
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        At a minimum, a good first step is to get your own domain if you haven’t, and start moving your accounts over to addresses @ that domain. That takes a while.

        You can also probably grab a copy of your current emails through Google Takeout and maybe you can figure out something for Proton as well. Any backup is better than no backup.

        • seanland@lemmy.sean.landOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 days ago

          Yeah, I already have my own domains and have hosted email in various services (work mail, m365) in the past.

          I have forwarding setup to proton, so I have a copy, just not a local one yet. Proton in my mind is temporary too, as I will migrate to something with more control. Fortunately, I’m only really using it for mail.

  • Reannlegge@lemmy.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days ago

    I try my hardest to live inbox zero, so I have never thought about saving emails as emails. If it is important enough I save it into paperless.

    • seanland@lemmy.sean.landOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 day ago

      I respect that. In my mind, there are three types of email people in the world, the zero inbox people, like yourself, the zero unread who keep all the mail, like me and the always unread people. That last group always gets to me, hehe.

      • Reannlegge@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        I used to be the zero unread type person until I started the self-hosting thing, and got away from using my ISP’s email, as my “quasi-pseudo-professional” email address. I had a gmail account that caught everything that did not have any professional stuff to it, when I started to de-google I started using Apple’s hide my email so if something got spammy I would just turn it off. I would later find out that the google offered this function were you would just put a + after your name than whatever @gmail.com but I was done with gmail so I was not going to go try. I have my own domain (reannlegge.ca) when I moved it from a .com to a .ca I also got email to go with it, I had some unlimitted emails package that Host Hero was screwing me over the barrel with, so I could spin up a new email address with it every time I would sign up for something and forward it to my main address. I had one to many bad experiences with a tech person there that I thought I would go for a new host, so I found out what I needed in the email and what I did not, turns out it was not a lot.

        Any who I changed providers, easyDNS who offers a wildcard function on their email and is much friendlier, I have a scheme for unlimitted free trials (that I have only used 2 or 3 times sadly free trials are going the way of the dinosaurs) or so that I can change my address if I still trust the service after my email has been leaked (usually that is a no but some times that is a yes). My emails are sorted into folders and when I see an email in a folder I read it and either forward it to my paperless email or delete it. Some emails automatically get forwarded to paperless and deleted without me seeing it, I have ntfy tell me if there is something new in paperless. When I left Host Hero I was approaching 200 email addresses, I think it was 197? Sure many of them probably were not recieving email anymore but and most of them where no longer forwarding to my main address because I only needed them for whatever service but would highly recommend getting an email service with a wild card option.

        My switch over to easyDNS was also when I was getting more into self hosting, more than pihole and cups at least (never have I ever attached a printer to the internet sure I have used its wireless features but not the ones that required an email address for). So a VPS and the email server was all I wanted, well to be fair for the first month I was hosting the webpage from home but decided a VPS would be better not that I expect any real traffic or anything just one less attack surface.

        It drives me up the wall when I see someone with unread emails, like my grandma who has 100+ unread emails on her ipad.

        • seanland@lemmy.sean.landOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          I feel like that the “zero inbox” will be my end state, with an supporting archive. I have started to migrate all my memberships and accounts to alias accounts for tracking and management (plus identifying leaks to or who sells off my information). The proton tier I have allows for 3 domains and 15 mailboxes if I recall correctly, which is plenty for me. Funnily enough, I do have a paperless-ngx instance that I use for all my physical scans. I use gotify for my notifications. I have always treated “physical” separately from my digital; maybe it is time to change that as well.

          • Reannlegge@lemmy.ca
            link
            fedilink
            English
            arrow-up
            1
            ·
            14 hours ago

            I tried Proton for a few weeks, but than the CEO went on warshipping Trump, as a Canadian who was getting out of US services I did not feel that it was right for me to keep using it with the whole 51st state BS.

            I have looked at alternative VPNs, but thought my setup was secure enough. But than my place flooded and I had really nothing better to do than jump down the whole home-labbing rabbit hole sure I had already had some home labbing started (pi hole, cups, maybe a few other things) but now almost everything is home labbed; I spent a good chunk of change on a Flint 2 router and flashed it with a clean install of OpenWRT set up vLANs and a firewall, I migrated everything off of HomeBridge and HomeKit and everything onto a pi 4 (I had doing nothing) running HAOS, I hardened my pihole setup, I set up crowdsec so I could see how many bots tried to get into my place (lots of emm), I got static IP addresses so that I could host my own blog and email server (email fell back to being hosted by my new host easyDNS, would highly recommend, and my blog ended up going onto a VPS and being hosted out of there). I host a wireguard VPN for myself so I get all my self hosted things even when I am away from the LAN. Than on top of that I wanted more security so I was still open to spending money on a VPN, but now being a full blown home labber I wanted to see what I could do for free. Turns out with my pihole-unbound set up I could do DoT (DNS over TLS) and CIRA offered it for free sure they log stuff for 24 hours unless they get a warrant to do it longer, but it is not like I do anything that warrants them getting a warrant for my info.

            • seanland@lemmy.sean.landOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              7 hours ago

              To that point, I have used it for over two years, approaching three. I have kind of just gotten sick of tech CEOs it feels like and their morals. I already self host my contacts and calendars using Baikal. So, in the near future my plan is to switch up that as well.

              I feel like for the right people self hosting is almost an addiction. I mean it in a positive way, where it engages a lot of thought as to “maybe I can do that” instead of “where can I sign up for that”. Questioning everything!

              Just to tease my setup, I have a 10 node k8s clusters at home that I started 4-5 years ago, simply to learn k8s for work. It originally started as a few nodes, but, has slowly evolved. I think I have ~30 different applications running on it, various jobs for media conversion or backup. Most recently I set up a couple jobs to back up all of my GOG games, so I can have a DRM free copy on hand. I do also use Wireguard to access my house, I have it terminate on a pfSense firewall, have it pass through a proxy on it’s way in, then have an internal proxy, vLAN and additional firewall rules to manage which users can go where. IE. my brother has a split tunnel set up to access those games I was talking about earlier. All my traffic on my devices runs back through my house to hit my pihole/unbound set up. Plus to access the services I have exposed to my clients.

              I am glad you shared your experience with easyDNS. I have a VPS in AWS, that I am looking to migrate out of there. I was originally considering OVH, as I wasn’t finding Canadian options I was too fond of. It might be a good option for my email and VPS.

              • Reannlegge@lemmy.ca
                link
                fedilink
                English
                arrow-up
                1
                ·
                2 hours ago

                I had used them for a but before apple started offering hide my email with the icloud, so I was not to worried about going back.

                I was already degoogling before I found the addiction of self hosting, but I was still years off of going to searXNG. I started de-Appling when Tim Cook gave Trump that Golden Apple plaque, I am debatting if I want to go get the pixel 11 now that it is $0 without a trade in on a two year contract so I can replace my end of life iphone and install grapheneOS on it. I to use baikal for calendars and contacts and like it very much, I was using Nextcloud prior to that for contacts and calendars but use Nextcloud as a cloud host not everything else. But yes once you take your first byte into self hosting you run your devices until you are out of the hertz’s, only to find out you need more bits to feel the same voltage as before. It is a mad RISC you are taking or a hard CISC you are… (couldn’t come up with something for that), are you ARM’ng yourself or sticking with the old timer x86? I will stop now.

                My original host for my domain was Host Hero, as happy as they were to take my money I had more trouble getting help with things, than I did actually getting the help.

                A couple years later I just had a rough phone call so I started looking for alternatives, I found easyDNS. I called them up, I like talking to people to try and get a feel for the business and if I am just going to be a number on a spreadsheet or a valued customer, they felt good so I got a test domain with them you know something just to see what’s what. I was going to self host my blog and that was going to be great, so I started the process of moving my domain over. When it came time for me to call Host Hero I was going to play a chicken challenge, I was expecting them to send me to a retention specialist but instead they just said “OK,” I tried playing chicken with the person but they said in short “Don’t let the door hit you on the way out!” I have a VPS that hosts ghost which I use to publish my blog, I could very well just self host it on one of my pi’s but I wanted some form of off site backup so I got the VPS and decided to just host it there.

                To tease what I got; two static IPs, I only use one the other was going to be used for email come to think about it the MX record for my throw away domain is still on it. I have the Flint 2 with a clean install of OpenWRT I updated it once and royally messed up one of my vLANs, that was my fault not OpenWRTs. I have a handful of Pi’s doing things around my place all linked with caddy to make it easier for me to find services rather than trying to remember what device is running what service so it is service.reannlegge.ca rather than 10.0.69.X:port (my homelab vLAN), of course those services can only be reached on my 10.42.0.0/24 (personal vLAN) and one of my VPN vLANs 10.42.69.0/24. No one is going to see the vLANs besides me but I thought it would be fun! I have a child friendly vLAN that is 10.6.7.0/24 not that I have guests with kiddos come over that often, a guest vLAN 10.4.20.0/24, my IoT vLAN is 10.6.66.0/24, and my security one where bots go to die 10.13.37.0/24. I have a few more vLANs but I am sure you get the picture, again not that anyone is going to see them but they are there to make me chuckle. I learnt my lesson leaving port 22 open on the joke of a firewall the ISP provids so I only have port 22 forwarded to my security vLAN that runs a pi zero 2 that runs a crowdsec honeypot, everything else uses a different port with keys.

                I wanna say it was 2020 that I got board and iOS has such bad ad blocking abilities that I got myself a pi 4 to start using pi-hole, I found out that it blocked more than ads on the web so of the few I was still getting I decided I needed a secondary one (rather than fine tuning) so I got a pi zero 2 to install pi-hole on and use as my secondary DNS server. I was being silly and using my printers wifi to print things but with my pi’s in my living room, for some reason, I moved them into the office and installed CUPS on the pi 4. Than when the pi 5’s hit the market I saw they could use NVMe drives, and by that time I had killed so many SD cards that I was all let’s go for that stuff. Luckily the AI boom had not yet started so it was less expensive to get NVMe drives then it is now. I thought yeah I could save things locally I got a bluray drive thinking I could go through backing up my DVD collection again, you know the small things in life. The pi 4 and pi zero 2 sorta just sat there with my 2014 mac mini and a Mac Pro from prior to 2014 that did not have anything worth saving except one hard drive out of 3. Than when I needed to start cleaning stuff up a bit I decided I needed to use the computers I have so the pi 4 became my HAOS device, one of my pi zero 2’s (I have to other ones, not sure why but I do) became one step in securing the internet and I learnt about docker and its amazing abilities which lead to needing caddy which end up me either needing another device or just getting the VPS. I dusted off the Mac mini, my plan was to just get the music from iTunes which I did but than I realized it was a close to mediocre machine by todays standards, so I installed debian on it and moved my arr stack over to it. Hopefully next week I am getting a hand me down 2018 Mac mini that I will install Debian on and I am sure I will move my arr stack and jellyfin server to it and plug it into my TV so the 2014 can continue doing its other things (like hosting my map/transit tracker no way in hell I am signing into google to see that stuff). On the message of buses, I just started using public transit again and I realized they do not have ads inside the bus any more so the Google must be paying them a bout load of money to track passengers seeing as how they really want people to use their phones to load cards or just use the wallet app on the phone.

    • tofubl@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      I use this and I like it for the most part. I used it early this year to cut ties with Microsoft, dumped a all my m365 mailboxes into archives. The part that doesn’t work very well, sadly, is searching the archive. For some reason, it never brings up all email when searching for mail address, so more often than not I narrow my search down to a month or two and click around. Maybe I’m doing it wrong, and for the occasional lookup I can deal with it…

      • tofubl@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 day ago

        Looked at documentation now because this has been bugging me lately, and first off, documentation is great. Second, what I usually do is search for a specific contact email, which comes up with 8 results in this specific case. Then tried that same query with to: and it brings up 5, same query with from: brings up 6. It does not add up.

        Edit: also just realised I haven’t updated it in over half a year, so maybe it has long been fixed. I see a few tangentially related closed issues around search.

        Edit: no, that wasn’t it.

    • seanland@lemmy.sean.landOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      2 days ago

      I will have to bake this off with Bichon and OpenArchiver from the looks for it :) - thanks for sharing!

  • gedaliyah@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 days ago

    I’ve been using Bichon for a few months and I think it’s fantastic. It’s easy to set up, connect to multiple accounts, automate, download as regularly as you’d like, search, filter, sort emails, etc. etc.

    • seanland@lemmy.sean.landOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      Noted. From the quick overview video seems to have a variety of tools to help with the overall mail management for sure. Thanks!

    • FridaVermercury@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 days ago

      Use this too, also only for a few months but seems to work reasonably well.

      Heads up if you are one of the people who likes hdds to spin down when not used, Bichon is one of the services that seems to not allow that.

  • guillem@aussie.zone
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 days ago

    I haven’t started yet but I was also looking for a way to store my emails locally.

    What I want to try is to have dovecot managing a Maildir+ folder structure. That way (unless someone tells me it’s a stupid idea) my mail archive remains human readable even if no specialised app can open them for some reason.

    I can keep reading the emails in my IMAP providers with whichever MUA I prefer, and connect that MUA to my local dovecot in order to move the emails from IMAP to local storage.

    I guess that translates well to selfhosted too.

    • lemmyvore@feddit.nl
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      Syncing to dovecot is what I landed on eventually too. Maildir format is plain text files so you can run backups on them as well as get the benefit of IMAP access so you can point an email client or webmail app at it to do searches and reorganizations.

      FWIW I’ve tried it the other way around, to sync from live IMAP mailbox to disk files and then convince dovecot or another private IMAP server to serve them read-only and it can be done but it’s a pain in the butt. Plus, it only gets you the ability to search but not to handle and reorganize the archive.

      The main trick is to neatly separate any handling and organization you do in the live mailbox from the organization you do on the private side. I achieve that by having a folder called Archive on the private server that doesn’t exist on live and I do all long term storage reorganization in there, while folders and changes on live get propagated to their own folders.

    • seanland@lemmy.sean.landOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      Not that I know much on the best practices, but, it sounds very similar to how people using Outlook archive and backup (if people still do this) their PST files. I won’t say it is a bad idea :) - appreciate the input!

  • tvcvt@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 days ago

    I’ve dipped my toe in with mailpiler, but it’s a project that I haven’t fully completed. I hadn’t seen IpenArchiver before. That looks interesting.

  • Brkdncr@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days ago

    Run a mail server, don’t connect to the internet though, just connect to it over vpn or something.

    Still searchable, off the cloud.

  • BennyInc@feddit.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days ago

    Still on my todo list. I intended to go with notmuchmail which apparently can deal with decades of mail easily.