I imagine that such things exist. I know that some company (Gmail, I think, but maybe something else) built some software that would scan incoming emails for certain ‘tells’ and based on those was able to decide how to put the emails in different mailboxes. My guess is that a good programmer could probably build something that is 80–90% accurate, but it will always be subject to how the sender has assembled and created the email. For example, if the email is text based, it’s farily easy. If the sender created aa graphic (JPG) and put words in the graphic, it will be considerably more difficult. Any company that builds this sort of software would be constantly updating it.