Fix bug where new_command would be ignored

If there was a new mail incoming to a mailbox different to the one that
was on-focus, the callback to new_command would not happen.