WIP: start integrating pgpmailer into client