ahmad19 PRO said almost 5 years ago on Gmail and Ruby :
gmail gem is outdate. [google-api-ruby-client](http://https://github.com/googleapis/google-api-ruby-client) is another option and [this](http://https://developers.google.com/gmail/api/quickstart/ruby) is a quick guide.