* remove unused email statuses * add more logging * use text_header if html_header not set * improve email * add a header about PGP failure when forward emails can't be encrypted * remove unused email status
* check invalid mailbox pgp key * check if public key is valid before trying with pgpy * fix query * remove unused code