Fix "Mailbox was externally modified.  Flags may be wrong." error after deleting email