Email Design Design high-converting marketing emails with AI-generated visuals via inference.sh CLI. Quick Start Requires inference.sh CLI ( infsh ). Get installation instructions: npx skills add inference-sh/skills@agent-tools infsh login
Generate email header banner
infsh app run infsh/html-to-image --input '{ "html": "
Spring Sale — 30% Off
This weekend only
Welcome email header
infsh app run infsh/html-to-image --input '{ "html": "
Welcome to
DataFlow
Your data, automated
Sale / promotional header
infsh app run infsh/html-to-image --input '{ "html": "
This Weekend Only
30% OFF
All annual plans. Ends Sunday.
Feature announcement header with AI visual
infsh app run falai/flux-dev-lora --input '{ "prompt": "clean modern email header banner, abstract flowing data visualization, dark blue gradient background, subtle glowing nodes and connections, tech aesthetic, minimal, no text, 600x250 equivalent", "width": 1200, "height": 500 }' CTA Buttons Rule Value Width 200-300px, not full width Height 44-50px minimum (tap target) Color High contrast with background Text Action verb + outcome: "Start Free Trial" Shape Rounded corners (4-8px border-radius) Placement Above the fold, repeated at bottom for long emails Quantity ONE primary CTA per email Bulletproof Buttons HTML buttons render differently across email clients. Use the "bulletproof button" technique (VML for Outlook, HTML/CSS for everything else):
< table cellpadding = " 0 " cellspacing = " 0 " border = " 0 "
< tr
< td align = " center " bgcolor = "
22c55e
" style = " border-radius : 6 px ; "
< a href = " https://yoursite.com/action " target = " _blank " style = " font-size : 16 px ; font-family : sans-serif ; color :
ffffff
; text-decoration : none ; padding : 12 px 24 px ; display : inline-block ; font-weight : bold ; "
Start Free Trial </ a
</ td
</ tr
</ table
Mobile Optimization Rule Why Single column layout Multi-column breaks on mobile Font minimum 14px Smaller is unreadable CTA button minimum 44px tall Apple/Android tap target Images scale to 100% width Prevent horizontal scroll Stack elements vertically Side-by-side breaks on narrow screens Test on Gmail app, Apple Mail, Outlook The big 3 email clients 60%+ of emails are opened on mobile. Design mobile-first. Deliverability Checklist Factor Rule Image-to-text ratio Max 40% images, 60% text (spam filters flag image-heavy emails) Alt text on images Always — images blocked by default in many clients Unsubscribe link Required by law (CAN-SPAM, GDPR) — make it easy to find From name Recognizable person or brand name Reply-to Real address, not no-reply@ (hurts deliverability) List hygiene Remove bounces, clean inactive subscribers quarterly SPF/DKIM/DMARC Technical authentication — set up once, critical for inbox Common Mistakes Mistake Problem Fix No preview text Shows "View in browser" or random code Set preview text intentionally Image-only emails Blocked images = blank email + spam risk 60%+ text, alt text on images Multiple CTAs Decision paralysis, lower click rate One primary CTA per email Tiny text Unreadable on mobile Minimum 14px body, 22px headings no-reply@ sender Hurts deliverability, feels impersonal Use real reply address No mobile testing Broken layout for 60%+ of readers Test on Gmail app + Apple Mail Missing unsubscribe Illegal (CAN-SPAM) + spam complaints Clear unsubscribe link in footer Over-designing Email clients render CSS inconsistently Simple layouts, inline styles Fake urgency Erodes trust, trains users to ignore Only use real deadlines