dcparker / ruby-gmail

A Rubyesque interface to Gmail. Connect to Gmail via IMAP and manipulate emails and labels. Send email with your Gmail account via SMTP. Includes full support for parsing and generating MIME messages.
http://dcparker.github.com/ruby-gmail
790 stars 123 forks source link

Bug fix and peek feature. #35

Closed astarr closed 13 years ago

astarr commented 13 years ago

Hello. This is the first pull request I've ever done -- I apologize in advance for any poor protocol.

The changes here consist of a little bug fix in Gmail.label(), and a new "peek" feature that allows you to read your emails without marking them as read on the server. Useful, for example, for a backup utility.