imap-capability

imap-capability is a compiled Lisp function in `imap.el'.

(imap-capability &optional IDENTIFIER BUFFER)

Return a list of identifiers which server in BUFFER support.
If IDENTIFIER, return non-nil if it's among the servers capabilities.
If BUFFER is nil, the current buffer is assumed.