'Rename old mailbox name to new.
(typ, [data]) = <instance>.rename(oldmailbox, newmailbox)'

def rename(self, oldmailbox, newmailbox):

    return self._simple_command('RENAME', oldmailbox, newmailbox)
