Well . I had to use fMailbox, fixed a few things and extended the class a bit (some functions might be of little general interest though), thought I'd share it back (especially for the fixes).
Fixes (that I remember...): parseStructure (some Lotus Note or related e-mail had 'Boundary' instead of 'boundary', added array_key checks to adapt)
Additions (some of which might not belong in a lib - also no pop3 versions):
saveFileAttach($path,$attachment) mails2Array($messages) - put all found emails in an array, somewhat adapted to my own needs though unboxMessage($message) - to flatten an email in a format that suited me, could be adapted/upgraded listUnseenMessages() - standard example of imap query markAsUnreadMessages($uid) - stuff I needed for testing
Uhm . where do I post that anyway .?