Have you had a look at Joplin (https://joplinapp.org)? It's mature, open-source, has e2e encryption, is markdown-backed, and supports syncing via Dropbox. Also supports attachments.
I actually switched to it from org-mode, but still edit the notes in emacs because of keymap (via "Edit in external editor" feature).