class Net::IMAP

def getquotaroot(mailbox)

[RFC2087[https://tools.ietf.org/html/rfc2087]].
The server's capabilities must include +QUOTA+

===== Capabilities

Related: #getquota, #setquota, MailboxQuotaRoot, MailboxQuota

containing objects of type MailboxQuotaRoot and MailboxQuota.
to both admin and user. If this mailbox exists, it returns an array
along with the specified +mailbox+. This command is generally available
Sends a {GETQUOTAROOT command [RFC2087 ยง4.3]}[https://www.rfc-editor.org/rfc/rfc2087#section-4.3]
def getquotaroot(mailbox)
  synchronize do
    send_command("GETQUOTAROOT", mailbox)
    result = []
    result.concat(clear_responses("QUOTAROOT"))
    result.concat(clear_responses("QUOTA"))
    return result
  end
end