title: How to retrieve only unread emails with ruby mail gem?
body: <p>I am trying to retrieve emails with ruby mail gem, in the examples it says that <code>Mail.last</code> will retrieve the last unread email <a href="https://github.com/mikel/mail#getting-emails-from-a-pop-server" rel="nofollow">https://github.com/mikel/mail#getting-emails-from-a-pop-server</a> but it returns just the last email no matter whether it has been read before or not.
  Does anybody know how to get only unread emails?</p>