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
792 stars 123 forks source link

Collect email subject and body #87

Closed sambo8 closed 8 years ago

sambo8 commented 8 years ago

puts pers.inbox.emails

returns this array:

[<#Message:70306970632760 mailbox=inbox uid=8544>, <#Message:70306970632740 mailbox=inbox uid=8545>, <#Message:70306970632720 mailbox=inbox uid=9158>

How can I get the actual body / subject of the email?

Thanks