My wife had years of emails in her inbox (over 100K!). She finally started cleaning up but accidentally deleted almost everything. This was an IMAP account on my server. She called me over and I went into the Trash and all the emails were there. I tried moving a bunch back and Thunderbird hung. After waiting I had to kill it and when I restarted it the Trash folder was empty.
I looked on the server and the files had been cleared even though nobody emptied the Trash.
I looked in her Thunderbird folder and I can see Inbox and Trash are both ~9.3G. Following some guides I checked and every email in both INBOX and Trash have "X-Mozilla-Status: 0001" meaning they are read but not deleted. I've tried several things including deleting INBOX.msf and Trash.msf but nothing gets recovered.
I can see all 100K+ emails in Trash. Any idea how to get them out? I've seen a couple of programs that say they can recover deleted emails but I'm not sure they are legitimate.