A while ago I wrote an IMAP client interface in PERL for a project I was working on. At the time I looked at Net::IMAP, Mail::IMAPClient and Mail::Cclient, but they all had problems that made them annoying in some way (broken literals in envelopes, non-structured bodystructure responses, etc). Most of those modules have now improved to deal with the issues I had at the time, so this module is now a bit redundant.
Anyway, the result of my work was Mail::IMAPTalk (yes, silly name), which basically did everything I wanted. I'm not sure if other people will find it useful, but I decided it was about time I released it to CPAN, so feel free to take a look and compare it to the other modules to see if it fits your needs. http://search.cpan.org/~robm/Mail-IMAPTalk-1.00/ Rob