This stream should be opened as the user whose mailbox you wish to check. quota_root should normally be in the form of which mailbox (i.e.
imap_stream should be the value returned from an imap_open() call. This stream should be opened as the user whose mailbox you wish to check. quota_root should normally be in the form of which mailbox (i.e. INBOX).