Mail.app is pushing all my mails to junk mail
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