Generic private messaging lib for email-like functionality