{"action":"opened","issue":{"url":"https://api.github.com/repos/alienscience/imapsrv/issues/33","labels_url":"https://api.github.com/repos/alienscience/imapsrv/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/alienscience/imapsrv/issues/33/comments","events_url":"https://api.github.com/repos/alienscience/imapsrv/issues/33/events","html_url":"https://github.com/alienscience/imapsrv/issues/33","id":93907361,"number":33,"title":"RENAME command - special INBOX ","user":{"login":"EtienneBruines","id":3962174,"avatar_url":"https://avatars.githubusercontent.com/u/3962174?v=3","gravatar_id":"","url":"https://api.github.com/users/EtienneBruines","html_url":"https://github.com/EtienneBruines","followers_url":"https://api.github.com/users/EtienneBruines/followers","following_url":"https://api.github.com/users/EtienneBruines/following{/other_user}","gists_url":"https://api.github.com/users/EtienneBruines/gists{/gist_id}","starred_url":"https://api.github.com/users/EtienneBruines/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EtienneBruines/subscriptions","organizations_url":"https://api.github.com/users/EtienneBruines/orgs","repos_url":"https://api.github.com/users/EtienneBruines/repos","events_url":"https://api.github.com/users/EtienneBruines/events{/privacy}","received_events_url":"https://api.github.com/users/EtienneBruines/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-08T22:47:15Z","updated_at":"2015-07-08T22:47:15Z","closed_at":null,"body":"RENAME is now implemented (`delete` branch currently, but will be merged with `master` as soon as `fetch` is available), but requires some special attention w.r.t. the `INBOX` mailbox. \r\n```\r\n Renaming INBOX is permitted, and has special behavior.  It moves\r\n      all messages in INBOX to a new mailbox with the given name,\r\n      leaving INBOX empty.  If the server implementation supports\r\n      inferior hierarchical names of INBOX, these are unaffected by a\r\n      rename of INBOX.\r\n```\r\n\r\nThis would move all messages, and (which requires a bit more effort), update the counters (first unseen, recent count, etc.)"}}