I figured out that this happens in the following scenario (it may happen in other scenarios too though!):
- Open an email
- Delete it before it has finished downloading
When you return to your inbox, the email comes back again, but your inbox is at 0, so when you delete it again, neg1!!!