Drop messages removed on the IMAP server

This makes the IMAP implementation pretty complete -- at least, it's
good enough that I can work.  I have no idea how well it'll work when
I try and start doing parellel things...