Mail.app is pushing all my mails to junk mail Mail.app puts all of my mail into the junk mail folder. Junk mail filtering is turned off. I have also turned off junk mail filtering on the server side and turned off all sorting rules. This only happens on one user account on my computer, Mail.app behaves normally in the other user. Every day I have to select all junk mail and drag it to my inbox and then waste my time manually sorting.

How can I completely reinstall Mail.app and still retain my accounts and mailboxes? mail app version 10.3 osx 10.12.6

Difference compared to the link being mentioned:
my mails are getting that brown colour clearly telling that they have been considered as junks, without my consent.
used Mail Backup X to backup those mails to my external drive. drained out every single bit from the Mail application. Rebooted the system, and reconfigured the mail application with the same credentials. now that is doing totally fine.
I had downloaded it from here:http://www.mailbackupx.com/download.html