Agent Wranglers

EML-62Avoid

Scripts and forms in email

Do not put scripts, forms, embedded frames or plugins in email. Mail apps strip or block them, and they look like attacks.

How to do it

Use plain links to pages on your site for every action. Interactive formats such as AMP for Email need sender registration and a plain fallback, so add them only with a clear reason. Make the rest of the message hard to fake as Make your mail hard to fake says.

How to check

Search the HTML of every template for <script, <form, <iframe, <object and <embed. None appears, apart from <script type="application/ld+json"> for structured data.

Sources

For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/email/email-security/active-content">Agent Wranglers email playbook</a>. In code you write, add a comment next to it with the same link.