lib/client.rb in navi_client-1.2.5 vs lib/client.rb in navi_client-1.2.6

- old
+ new

@@ -54,11 +54,12 @@ # retrieve any mail from a folder, followin specified serach condition # for any mail retrieved call a specified block # def retrieve_emails(imap, search_condition, folder, &process_email_block) - # select folder - imap.select folder + # examine will read email and sets flags unread + # https://stackoverflow.com/questions/16516464/read-gmail-xoauth-mails-without-marking-it-read + imap.examine folder message_ids = imap.search(search_condition) if @debug if message_ids.empty?