Sanitising Email

For the past 15 years or so, I've been using a simple&#xA; Perl script that I wrote called&#xA; gpgit to encrypt email stored on my mail&#xA;server, both incoming and&#xA; outgoing . It just takes a&#xA;raw email on stdin and writes the modified email to stdout. It has always been&#xA;in the back of my mind that I could do a lot more than just encrypting an email,&#xA;from a privacy and security…