I need a Perl script which will connect to my gmail and download the unread emails from a certain folder. But not all the unread emails, only those with a certain subjects and from a certain sender.
after that mark them as read and leave them on the server.
those emails must be stored "appended" in a file on the local hard drive.
the script needs to run on Active Perl under windows.
The project needs to use Active Perl modules only.
The script needs to do its work as soon as there is any unread emails available on the gmail server.
The script needs to continuously monitor my gmail for any email which matches the criteria I previously stated in order to process them as already indicated as soon as those emails are received in my gmail account.