'Delete a mailbox
This command is allowed in the Authenticated and Selected states.
@type name: L{str}
@param name: The name of the mailbox to delete.
@rtype: C{Deferred}
@return: A deferred whose calblack is invoked if the mailbox is
deleted successfully and whose errback is invoked otherwise.'

def delete(self, name):

    return self.sendCommand(Command('DELETE', _prepareMailboxName(name)))
