'Retrieve the status of the given mailbox
This command is allowed in the Authenticated and Selected states.
@type mailbox: L{str}
@param mailbox: The name of the mailbox to query
@type *names: L{str}
@param *names: The status names to query.  These may be any number of:
C{\'MESSAGES\'}, C{\'RECENT\'}, C{\'UIDNEXT\'}, C{\'UIDVALIDITY\'}, and
C{\'UNSEEN\'}.
@rtype: C{Deferred}
@return: A deferred which fires with the status information if the
command is successful and whose errback is invoked otherwise.  The
status information is in the form of a C{dict}.  Each element of
C{names} is a key in the dictionary.  The value for each key is the
corresponding response from the server.'

def status(self, mailbox, *names):

    cmd = 'STATUS'
    args = ('%s    (%s)' % (_prepareMailboxName(mailbox), '    '.join(names)))
    resp = ('STATUS',)
    d = self.sendCommand(Command(cmd, args, wantResponse=resp))
    d.addCallback(self.__cbStatus)
    return d
