Mail app doesn't correctly reflect the subject
Hello, this is my first question here and I don't know if anybody has the same problem as myself.
So after I updated the OS to Monterey 12.4 I decided to clean up my Mail app synced with my gmail account. Out of a sudden when I chose to Erase Junk mail, all of my emails were erased. I was quick enough to restore all of them from my Google account, but boy it's a mess now.
You see, I have it organized by folders and I keep my mails since 2006. Now - nothing changed in my Gmail, but in the app my older emails (those, that were there before the erase) are shown up under totally different names and subject lines. For example, I am looking for a mail from my mortgage assistant. I open the inbox, make a search (or just see her mail - with _her name_ and _appropriate subject_ - in the folder), and open the message only to see, that, in fact this is a bill from utility company.
It bugges me and complicates my work and home managing as I can't find needed information quickly. All new emails, that landed in my inbox after I restored them are shown correctly. In my online gmail account everything is correct. It's just some Mail app bug.
I tried to stop syncing and then sync again in the App settings - didn't help a lot. Any ideas?
MacBook Pro