net-libs/
libetpan

A portable, efficient middleware for different kinds of mail access

http://libetpan.sourceforge.net/