Tighten imapuid message check filter.

There's a potential bug here that just hasn't popped up yet.
Don't ignore soft deletes in IMAP/Gmail mail sync backend.