That's what I use DevonThink for. Local macOS app with encrypted local filesystem. It just indexes basically everything from email to webpages to actual directories of plaintext files on my filesystem. And it can do automatic OCR of images/PDFs etc.
I don't do actual note-taking there, I use NotePlan for that, which is just a directory of plain text files on my local filesystem. Automatically indexed by DevonThink.
I just dump everything there, including a regular weekly cronjob to archive my email accounts from different IMAP servers including Gmail.
I use DevonThink regularly and it never fails to deliver (except syncing, which sucks, my databases are too large). I have 25+ GB of data there in all sorts of file formats, from PDF receipts to over 1 million+ text documents including emails, and DevonThink can still find stuff instantly (under 500ms) for any full text search.
I don't do actual note-taking there, I use NotePlan for that, which is just a directory of plain text files on my local filesystem. Automatically indexed by DevonThink.
I just dump everything there, including a regular weekly cronjob to archive my email accounts from different IMAP servers including Gmail.
I use DevonThink regularly and it never fails to deliver (except syncing, which sucks, my databases are too large). I have 25+ GB of data there in all sorts of file formats, from PDF receipts to over 1 million+ text documents including emails, and DevonThink can still find stuff instantly (under 500ms) for any full text search.