Why Not Store Encrypted Emails in Plaintext Locally?
Clients like Thunderbird are great because you have everything stored locally so you can easily search offline. They also support encrypting and decrypting emails in PGP. However, they seem to have the same limitation as protonmail where you can't search through encrypted emails.
I know that protonmail can't just store your key at their server since that would defeat the purpose, so the emails are all ciphertext to them right? But in Thunderbird, you already have the key and decrypt everything all the time. So why can't you skip the middleman in your local machine and store everything locally in plaintext? It's not less secure since if your local machine is compromised, your private key is also compromised.
Or at the very least give us the option and have a slightly less secure but much more convenient option.
I've been trying to move away from email as a document server.
Anything that's important / I might want to reference later gets exported to a secure paperless-ngx instance where it's neatly categorized and easily searched. I then delete it from my inbox.
If you're in Linux, you can use eCryptfs to setup a private encrypted directory, move the ~/.thunderbird directory into it and just leave a symlink to it in your unencrypted home directory. Then you can store your emails in plain text in the encrypted private directory.
It's not even complicated to set up: most Linux distributions are setup so that the private directory is automounted upon login: when you're not logged in, your data at rest is encrypted. It only becomes readable when you're logged in.
Both my Thunderbird and Firefox directories are stored in my private directory.
This does not answer the question. OP wants to Thunderbird to decrypt PGP mails. Yes, it makes sense to use an encrypting fs, but we are still missing this thunderbird feature.
Do you have to put in your password on every session in protonmail? If not, then that means that either the key is unencrypted and is stored somewhere else as plaintext or the password is stored somewhere also as plaintext, which would defeat the purpose.
Honestly, I can't think of a good reason. This is just how email has always worked. What Thunderbird stores locally is identical to message on the server. It's not decrypted because no conversion happens when syncing mail.
I agree, it would make sense to keep plaintext emails locally or on a trusted server for practical reasons.
This may be a long shot, but it's what I do, so it might be an option:
Set up a crypto gateway like CipherMail which will automatically decrypt inbound email and sign/encrypt outbound. The result is that your Thunderbird will never get to see an encrypted email, decryption is handled transparently before it hit's your inbox.
Obviously, if you don't trust your email provider, this is not an option.
This isn't simple and hence not for everyone, also comes with dependencies on your email provider, but it works flawless for me ever since I set it up.
I run my own email server, hence adding in CipherMail wasn't a big deal.