gmailgem / gmail

A Rubyesque interface to Gmail, with all the tools you'll need.
Other
397 stars 119 forks source link

Raises et::IMAP::BadResponseError: Unknown command ############ exception for all methods #275

Open akabhirav opened 1 year ago

akabhirav commented 1 year ago

Steps to Reproduce

gmail = Gmail.connect(:xoauth2, User.first.email, token: GoogleAuth::Auth.new.get_tokens(User.first).access_token) gmail.inbox.count

Error

Net::IMAP::BadResponseError: Unknown command f11mb128619938ocw
from /usr/local/bundle/gems/net-imap-0.2.3/lib/net/imap.rb:1247:in `get_tagged_response'