Works with the AI Agents you already use
HTML Email Template Linter
by Saizul Amin
Lint HTML email templates and .eml files for spam triggers, Gmail clipping, and structural delivery issues.
$3
HTML Email Template Linter
Example session with this skill installed
Check this HTML email template for rendering, accessibility and spam-filter problems before we send the campaign.
- Read your context and instructions
- Compiled the html email template
I ran the bundled script from the email-template-lint skill and reviewed its findings.
Demo data: this is the real, unedited output of the skill's script on the test fixture that ships with its source repo.
Script output
tests/fixtures/email-template-lint/bad.html (html, marketing): 0.5 KB HTML, 8 words, 3 images, 5 links
[HIGH ] image-only email (3 image(s), 8 words of text) -> put the message in live HTML text; images are blocked by default in many clients
[HIGH ] 1 javascript: link(s): javascript:void(0) -> remove; scripts never run in email and look malicious
[HIGH ] 1 link(s) to raw IP addresses: https://198.51.100.7/login -> link to your domain
[HIGH ] 1 link text shows a different domain than the link goes to: text 'www.paypal.com' -> evil.example.net -> make text and href match
[HIGH ] no visible unsubscribe link (required for marketing mail by CAN-SPAM, GDPR/PECR, Gmail, Yahoo) -> add an unsubscribe link in the footer, plus the List-Unsubscribe header
[MEDIUM] 1 base64 data: image(s): blocked by Gmail and Outlook, inflate size -> host images over https
[MEDIUM] 1 public URL shortener link(s) (shared reputation, often blocklisted): http://bit.ly/3xYzAbc -> use your own domain or your ESP's branded tracking domain
[MEDIUM] <script> used (1x) -> scripts are stripped and are a spam/malware signal
[MEDIUM] <form> used (1x) -> forms are unsupported or warned about in many clients
[LOW ] 3 image(s) without alt attribute -> add alt="description" (alt="" for decorative images)
[LOW ] 1 image(s) over plain http -> use https URLs
[LOW ] 1 link(s) over plain http: http://bit.ly/3xYzAbc -> use https
[LOW ] 1 link(s) with empty or '#' href: here -> point them somewhere or remove the <a>
[LOW ] external stylesheet <link>: most clients ignore it -> inline CSS or use <style>
[INFO ] no <title> (shown by some clients and web views) -> add a <title>
5 high, 4 medium, 5 low, 1 info
Next steps
- Fix every HIGH item before sending.
- Add alt text, an unsubscribe link and real HTML text where flagged.
- Send a test to Gmail and Outlook after fixing, then re-run the lint.
Connects securely to your tools. The creator never sees your data.
About this skill
Sending an HTML email with structural flaws is a fast track to the spam folder or Gmail's clipping graveyard. This skill lints HTML templates and .eml files to identify technical red flags that trigger filters or break rendering before you hit send.
What it does
- Size monitoring checks if HTML exceeds 102 KB to prevent Gmail message clipping.
- Link auditing identifies risky URL shorteners, raw IP links, and mismatched link text that triggers phishing filters.
- Header verification ensures mandatory List-Unsubscribe, Message-ID, and Date headers are present for marketing mail.
- Asset analysis flags base64 images, missing alt text, and insecure HTTP references.
- Code hygiene detects scripts, iframes, forms, and external CSS that email clients routinely strip or penalize.
How it works
- Input the source. Provide the raw HTML template or an exported
.emlfile from a test send. - Specify the type. Indicate if the email is
marketingortransactionalto apply the correct header and unsubscribe rules. - Analyze findings. Review the prioritized report categorized by High, Medium, and Low risk levels.
- Apply diffs. Implement the suggested code changes or ESP configuration updates provided by the agent.
Frameworks & tools
Built for Python 3.8+ environments. It validates against established delivery standards for Gmail, Yahoo, and major mailbox providers.
Why this beats prompting it yourself
Generic LLMs often miss the specific 102 KB Gmail clipping threshold or the nuances of RFC-compliant one-click unsubscribe headers. This skill uses a specialized script to provide exact byte counts and structural validation that a text-only prompt cannot accurately measure.
Use cases
- Preventing Gmail from hiding your unsubscribe link due to message clipping.
- Cleaning up exported templates that contain forbidden elements like
javascript:or<iframe>. - Verifying that a marketing campaign meets the 2024 sender requirements for one-click headers.
- Auditing transactional receipts to ensure they don't look like phishing attempts to spam filters.
Known limitations
Does not perform DNS-based checks like SPF, DKIM, or DMARC. It focuses on message structure and content rather than sender reputation or visual pixel-perfect rendering across clients.
Open source: saizul/email-deliverability-skills on GitHub (MIT licence, by Saizul Amin).
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.
Does not check DNS records (SPF/DKIM/DMARC). Focuses on structural and header analysis, not visual rendering or pixel-perfection across different email clients.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 days ago
- Software
Python 3.8+
Permissions
Allowed Hosts