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!

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

    I respect that. I feel like there are three type of email people. You, the zero inbox people, me, the zero unread hording mailbox people and the everything unread people. The last group kills me a little inside.

  • lemmyvore@feddit.nl
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 hour 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.

  • Reannlegge@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 hours 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
      1
      ·
      18 minutes ago

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

  • gedaliyah@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    7 hours 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
      1
      ·
      20 minutes 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
      ·
      5 hours 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.

  • Brkdncr@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    9 hours 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.

  • guillem@aussie.zone
    link
    fedilink
    English
    arrow-up
    4
    ·
    11 hours 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
      1
      ·
      1 hour 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
      ·
      11 hours 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!

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

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