in reply to How to get started with scraping my IMAP emails

Hello bliako,

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*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.