in reply to How to get started with scraping my IMAP emails
I used Mail::IMAPClient too for my IMAP monitor at: Re: Get saved search data out of Thunderbird and into plain-text file -- IMAP monitoring
The monitoring part, which is a bit raw, uses $imap->sentsince to retrieve new messages. Looking again at the docs I see message_string and message_to_file that can be useful in your task.
L*
|
|---|