imap: support deleting messages
Merge pull request #591 from jdve/imap-support-delete

imap: support deleting messages