The Mail_IMAP::$mailbox property contains the IMAP resource stream passed to Mail_IMAP::Mail_IMAP, if you passed an existing IMAP stream or created in Mail_IMAP::connect, if you used a URI abstraction to connect.