Class: Net::IMAP::BadResponseError (Ruby 2.3.4)

Net::IMAP::BadResponseError

Error raised upon a "BAD" response from the server, indicating that the client command violated the IMAP protocol, or an internal server failure has occurred.