'Get mailbox status.
Result is tuple of 2 ints (message count, mailbox size)'

def stat(self):

    retval = self._shortcmd('STAT')
    rets = retval.split()
    if self._debugging:
        print '*stat*', repr(rets)
    numMessages = int(rets[1])
    sizeMessages = int(rets[2])
    return (numMessages, sizeMessages)
