Mail headers are transposed
For the past year or so, I have a problem that occurs once a week or so where the headers in the mail app are transposed for two consecutive emails. The body of the email shows the correct sender in the upper left corner, but if I reply to the email it is sent incorrectly to the person that appears in the header. This is very annoying. It has been happening for many months under at least two operating systems (currently Ventura). The only way I've found to correct the problem is to select the appropriate mailbox and the click Mailbox > Rebuild.
Does anyone know how to prevent this transposition in the first place?
iMac (2017 – 2020)