I'm so interested into this, most selfhosted mail clients are super slow and well got outdated UIs..
How is the data persisted, does it need a db?
Everything happens on Postgres first then relays to IMAP instead of relying on IMAP to query across all your domains, which I find is usually where most mail clients start to fail when you’re the type to setup multiple emails on multiple domains.