email-template-gen
Generate responsive email templates. Use when building transactional emails.
来源信息
- 仓库
- lxgicstudios/ai-email-template
- 最近来源活动
- 2026年8月20日 19:06
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 2
- 分支
- 0
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- email-template-gen
- description
- Generate responsive email templates. Use when building transactional emails.
# Email Template Generator
Email HTML is stuck in 1999. Tables, inline styles, outlook hacks. Describe what you want and get a template that actually works everywhere.
**One command. Zero config. Just works.**
## Quick Start
```bash
npx ai-email-template "welcome email with verify button"
```
## What It Does
- Generates responsive email templates
- Works in Gmail, Outlook, Apple Mail, and more
- Supports HTML, React Email, and MJML
- Includes dark mode support
## Usage Examples
```bash
# Welcome email
npx ai-email-template "welcome email with verify button"
# Order confirmation
npx ai-email-template "order confirmation with items table" -f react
# Password reset
npx ai-email-template "password reset" -o reset.html
# Newsletter
npx ai-email-template "weekly newsletter with header and article cards"
```
## Best Practices
- **Test in Litmus or Email on Acid** - every client is different
- **Keep it simple** - complex layouts break in Outlook
- **Use web fonts sparingly** - many clients ignore them
- **Always include plain text** - some people prefer it
## When to Use This
- Building transactional email system
- Creating marketing email templates
- Updating legacy email templates
- Need a starting point for React Email
## Part of the LXGIC Dev Toolkit
This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.
**Find more:**
- GitHub: https://github.com/LXGIC-Studios
- Twitter: https://x.com/lxgicstudios
- Substack: https://lxgicstudios.substack.com
- Website: https://lxgicstudios.com
## Requirements
No install needed. Just run with npx. Node.js 18+ recommended. Needs OPENAI_API_KEY environment variable.
```bash
npx ai-email-template --help
```
## How It Works
Takes your description and generates email templates using table-based layouts that work across email clients. For React Email format, it generates proper components. For MJML, it generates the markup that compiles to email-safe HTML.
## License
MIT. Free forever. Use it however you want.
在 GitHub 查看