I'm also using Mail::IMAPClient, then $client->select ( 'Inbox.Github' ) to choose a specific folder and $list = $client->search ( 'UNSEEN' ); to grab any unread messages from my github folder. I can then use $client->set_flag ( 'Seen', @list_of_msgs ) to mark a bunch of them as seen. It's a great way for me to automate the whole "I can ignore all of these github messages because that PR has already been approved" process.
In reply to Re: How to get started with scraping my IMAP emails
by talexb
in thread How to get started with scraping my IMAP emails
by bliako
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |