imap-mailbox-list
imap-mailbox-list is a compiled Lisp function in `imap.el
'.
(imap-mailbox-list ROOT &optional REFERENCE ADD-DELIMITER BUFFER)
Return a list of mailboxes matching ROOT on server in BUFFER.
If ADD-DELIMITER is non-nil, a hierarchy delimiter is added to
root. REFERENCE is an implementation-specific string that has to be
passed to list command.