imap-mailbox-status
imap-mailbox-status is a compiled Lisp function in `imap.el
'.
(imap-mailbox-status MAILBOX ITEMS &optional BUFFER)
Get status items ITEM in MAILBOX from server in BUFFER.
ITEMS can be a symbol or a list of symbols, valid symbols are one of
the STATUS data items -- i.e. `messages', `recent', `uidnext', `uidvalidity',
or `unseen'. If ITEMS is a list of symbols, a list of values is
returned, if ITEMS is a symbol only its value is returned.