See https://github.com/u...tb/gpg-mailgate for more information
Assume you're using Postfix with some IMAP server and Thunderbird. (Edit: if you're only using one of Thunderbird/Postfix, you can take the first/second part of the guide, respectively)
First, install Enigmail, a Thunderbird...