How to Prompt AI for Better Email Subject Lines
Subject lines written by AI without clear constraints tend to be safe, generic, and low-performing. One prompt change can turn 'here are some subject lines' into 5 testable variants with distinct angles.
Write some email subject lines for my newsletter.
Why it underperforms:
- โNo information about the email's actual content or offer
- โNo target audience โ who is receiving this?
- โNo character limit โ some platforms cut off at 50 chars
- โNo instruction for variety โ output will be repetitive in style
- โNo goal stated โ is this for opens, clicks, urgency, or curiosity?
Write 5 email subject lines for a newsletter issue about why most people's morning routines are counterproductive. Target audience: knowledge workers aged 28-45 who have tried and failed at building consistent habits. Each subject line should use a different angle: curiosity gap, contrarian claim, specific number, personal challenge, and a question. Keep each under 50 characters. Do not use exclamation marks.
What changed:
- โStates the email's content so subject lines are accurate, not generic
- โDefines the reader โ the model can calibrate relevance and pain points
- โCharacter limit ensures mobile-friendly output
- โNamed angles force five distinct approaches โ useful for A/B testing
- โTone constraint ('no exclamation marks') prevents hype-style output
Output Comparison
Output from weak prompt
1. Boost Your Productivity Today! 2. Tips for a Better Morning Routine 3. Improve Your Daily Habits 4. Morning Routine Secrets Revealed! 5. How to Start Your Day Right
Output from improved prompt
1. The morning habit that's wasting your time (curiosity gap) 2. Your routine is why you're tired (contrarian) 3. 3 habits high performers quietly dropped (number) 4. Still hitting snooze? This is why (challenge) 5. What if your routine is the problem? (question)
Why It Works
The improved prompt transforms a request into a brief. The AI now knows the content, the reader, the format constraint, and the five distinct creative directions to explore. Specifying angles is the key move โ without it, the model defaults to a single tonal register and produces five variations of the same line. Asking for labeled angles also makes it easier to pick and test.
The Technique: Goal Specification + Constraints + Variants
Goal Specification tells the model what success looks like for each output item. Constraints (character limit, no exclamation marks) prevent common AI failure modes โ runaway length and hollow enthusiasm. Requesting named Variants forces genuine creative range rather than synonymous repetition.
Next step: use it in Claude Code
Prompts like this one are most useful when they are pinned into a CLAUDE.md or wrapped in a slash command. The Claude Code guide shows you how.
Read the Claude Code guideFrequently Asked Questions
Can I use this for cold outreach as well as newsletters?
Yes, with one adjustment: replace the newsletter context with the cold email's specific offer and the recipient's role. Cold outreach subject lines should lean on curiosity or a specific pain point rather than a content tease.
What's the best character limit to specify?
50 characters is safe for most email clients including mobile. Gmail shows about 60 characters on desktop, but mobile cuts it shorter. If you want to be conservative, use 45 characters. Always specify a limit โ AI defaults to longer lines that get cut off.
Should I specify the sender name in the prompt?
Only if the sender name is unusual or if you want the subject line to reference it. Most of the time, the sender name is handled separately and the subject line should stand alone.