Mail handling now working for client and server

Client and server mail handling now working but remailer-* messages
still require attention as they use a dedicated library.