Skip to main content

Claude/ChatGPT Prompt to Build an E-Commerce Email Template System

Design a full e-commerce transactional email system: order confirmations, shipping, abandoned cart, review requests, and win-back templates.

Fill in the placeholders

Edit the values, then copy your finished prompt.

Your Prompt
prompt.txt
Design a complete email template system for fashion/apparel e-commerce.

Email types needed: welcome, order confirmation, shipping, abandoned cart, review request, win-back
Brand style: modern, clean, minimal with brand accent color

**Industry Design Rules (E-Commerce Email):**
- Pattern: Logo header → Content → CTA → Footer with unsubscribe
- Style Priority: Mobile-first (60%+ opens on mobile), scannable, action-driven
- Color Mood: Brand-consistent, white background for readability, single accent for CTAs
- Typography: System-safe fonts (Arial, Helvetica, Georgia), large for mobile, clear hierarchy
- Key Effects: Responsive tables, dark mode compatible, personalization tokens, animated GIF support
- Anti-Patterns: DO NOT use web fonts (email clients break them). NO full-width images without alt text. NO hiding unsubscribe. NO more than one primary CTA per email.

Generate these 6 templates:
1. **Welcome email** — brand introduction, getting started guide, first purchase incentive
2. **Order confirmation** — order summary, items with images, shipping estimate, tracking promise
3. **Shipping notification** — tracking number, estimated delivery, carrier link, order details
4. **Abandoned cart** — cart items with images, scarcity/urgency (honest), discount code option, return CTA
5. **Review request** — product photo, star rating click-through, incentive for review (optional)
6. **Win-back** — re-engagement for inactive customers, curated picks, exclusive offer

For each: subject line (A/B variants), preview text, full HTML template code, send timing recommendation.
All templates must render correctly in Gmail, Apple Mail, Outlook, and mobile clients.

What this prompt does

This prompt turns an LLM into an email designer that ships a complete transactional email system for a [store_type] store, not a single one-off template. You tell it which [email_types] you need and your [brand_style], and it generates the full set as production HTML: welcome, order confirmation, shipping notification, abandoned cart, review request, and win-back. Each one follows the same skeleton (logo header, content, single CTA, footer with a visible unsubscribe) so the system feels coherent across the whole customer lifecycle.

The structure works because it bakes in the constraints that actually break email. It is mobile-first because most opens happen on a phone, it bans web fonts because email clients silently strip them, and it enforces one primary CTA per message so the reader is never split between two actions. The [template_count] variable controls how many templates come back, and [brand_style] shapes the accent color and tone while keeping the white background and system fonts that make messages render reliably in Gmail, Apple Mail, and Outlook.

When to use it

  • You are launching a new store and need the entire transactional email layer at once
  • You are migrating off a templated ESP and want clean, client-safe HTML you control
  • An existing flow renders badly on mobile or in Outlook and you want a rebuild
  • You need A/B subject line variants and preview text written alongside the templates
  • You want honest urgency in the abandoned-cart email rather than fake countdown timers
  • You need send-timing recommendations to wire into your automation tool

Example output

You get a set of [template_count] templates, each delivered as a block: two A/B subject line variants, preview text, the full responsive HTML table-based template, and a send-timing recommendation. The HTML uses inline styles, system-safe fonts, and a single accent color for the CTA button, with alt text on images and a clearly visible unsubscribe link in every footer.

Pro tips

  • Set [store_type] precisely ("premium skincare" beats "ecommerce") so copy and imagery match your catalog
  • Trim [email_types] to only the flows you will actually send; an unused win-back template just rots
  • Keep [brand_style] to a few concrete words plus your hex accent so the AI does not over-design
  • Always test the returned HTML in Litmus or a real Outlook client before going live; rendering claims need verification
  • Ask for a dark-mode pass as a follow-up if your audience skews toward Apple Mail
  • Push back on any template that introduces a second primary CTA; regenerate that one rather than editing by hand

Frequently Asked Questions

Does this generate real, copy-paste HTML or just a design description?
It generates full HTML template code using responsive tables and inline styles, plus subject lines, preview text, and send timing for each email type. You should still test the output in a tool like Litmus or a real Outlook account before sending.
Will the templates work in Outlook and on mobile?
The prompt is built around mobile-first, client-safe rules: system fonts, responsive tables, and no web fonts that Outlook strips. It explicitly targets Gmail, Apple Mail, Outlook, and mobile clients, but you must verify rendering rather than trust the claim blindly.
How many templates does it produce?
That is controlled by the `[template_count]` variable. By default it covers six lifecycle emails, but you can lower the count to generate only the flows you actually plan to send.
Can I use it for a non-fashion store?
Yes. Change the `[store_type]` variable to your niche, such as skincare, electronics, or food, and the AI adjusts copy and imagery suggestions while keeping the same client-safe structure across every template.
Does it include unsubscribe and compliance handling?
Every template footer includes a visible unsubscribe link by design, since hiding it is listed as a banned anti-pattern. It does not generate legal text or handle your ESP's compliance settings, so review those separately before launch.
Engr Mejba Ahmed

Need this built for real?

Engr Mejba Ahmed

AI Developer · Software Engineer

I'm Mejba — I design and ship production AI systems, automations, and full-stack apps. If you want this turned into a working solution for your team, let's talk.

More in E-commerce UI Prompts

Engr Mejba Ahmed

Engr Mejba Ahmed

AI assistant · trained on my work

👋

Hey there!

Quick Actions

WhatsApp Direct line to me

Chat on WhatsApp

+880 1723 741224 · Replies within the hour on working days

Popular Questions

Engr Mejba Ahmed is connected
Engr Mejba Ahmed is typing...
Engr Mejba Ahmed avatar

✉ Want me to follow up? Drop your email

Engr Mejba Ahmed avatar

📞 Connect Directly

Choose how you'd like to reach me

WhatsApp

+880 1723 741224

Email

mejba.13@gmail.com

✓ Details sent! I'll get back to you shortly.

Powered by OpenAI

335+

Blog Posts

25

AI Courses

63

Projects

Services & Expertise

Pricing & Process

Learning & Resources

Connect & Support