Local email setup with maildir and notmuch

Is maildir and notmuch the best choice for managing emails locally?
I’ve been working on a personal email solution, largely vibecoded, but I’d appreciate a sanity check. My goals are:

  • local storage
  • fast comprehensive search and tagging
  • mobile access

I have gmail and paid email hosting which I access via imap. Currently I’m using mbsync to a local maildir and msmtp for receiving/sending email. notmuch seemed like the best option for tagging/searching local email but the usual notmuch clients, like neomutt, don’t support html email, images, etc in the way I’d like. I ended up forking Dodo to add the features I wanted. To enable mobile access I made an email daemon, a wrapper basically for mbsync/msmtp/notmuch that provided an api for clients to access and changed my Dodo fork to work off that. Security and authentication is handled, perhaps naively, just through tailscale permissions. LLM easily vibecoded a mobile webmail app that accesses the email daemon when on my tailscale network.

Anyway, I’m happy with it and am using it personally, but I don’t know what I don’t know. Is this actually a terrible idea or are there better solutions that fit my needs?

I just use postfix + dovecot and mutt (for cli) or evolution (for DE)