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

def rename(self, oldmailbox, newmailbox, **kw):

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