A template preview is not the same as a delivered message. Test through the real sending path and look at what lands.
The website renders messages in a sandbox so scripts cannot run. The MCP tools return cleaned text.
Message text and HTML are stored. Do not rely on attachments for testing.