Mac keep flagging ALL emails

Hi, i have some problem with my flagged emails.

Everything started Sunday evening when I put my iPhone (14 pro with iOS 17.1 public beta) in my pocket without blocking the screen. when I came home I realised I have more than 30.000 flagged email.

I couldn't fix it from my iPhone so I tried on my Mac (mbp 2019 venture 13.5.2). I select all the email in the red flag ("scuola") and delete the flag. but from time to time (after 2-3 hours) I found again 1700/2000/3500 flagged email.

On my iPhone I couldn't select the mails all together but, even If I delete the flag on my MacBook, they are still flagged on my iPhone (but just 3000, not the original 30.000).

I really don't know what to do and how it happen...

[sorry if the screenshot is not in English but I'm Italian. I think the problem is clear anyway....]

Please post this question to the Apple communities as mentioned on the home page, and given it is a beta product, you accept all liability until an official release is made to the general public. This area is strictly for third-party developer questions.

Mac keep flagging ALL emails
 
 
Q