Library for handling mail messages and newsgroup articles