IMAPstripper is a very primitive Perl script to connect to an IMAP box and extract the attachement from theĀ last unseen message.
It is based on the Mail::IMAPTalk module to establish the IMAP connection and on the MIME::Parser module to parse the mail as a MIME object (given by the first module).
It is very limited but could be used as an example or a start for more mail processing.
IMAPstripper v0.1 (2007/06/03)