Sometimes Thunderbird’s indexes get scrambled and you need to reindex the email database.
Try using the repair folder option on the Inbox.
1. Right click on the Inbox and select Properties
2. Under Properties there should be a Repair Folder button
Hopefully that should sort it out.