Hi Dexter,
You can easily repair your Thunderbird Mailbox by following these simple steps:
1. Open Mozilla Thunderbird to fix corrupted folder/emails
2. Right-click on the Inbox folder where damaged emails are stored

3. Click on Properties option from the drop down

4. In the General Information tab, click on Repair Folder then click OK

This simple steps will help to repair Thunderbird emails.