client and server code for privacy-enhanced email service