Hello,
Clear the Message field and paste your code into the field directly. If you want to use the HTML Editor, do not use code in it. The text you enter into the HTML Editor will be transformed to HTML automatically.
Also, if you want to send an Email notification in HTML format, you need to enable HTML format first and only then paste the code into the Message field.