implement imap-cancel
Merge branch 'master' into jupis