Preview contains html code

I’ve noticed that some of my emails are showing some html in the message preview, while not the raw html I see some occasional codes, is that a bug?

It likely means that the sender of the email did something wrong. See Preview with program code