Email headers
Use this when someone wants the picture at the top of a marketing email: a welcome email, a launch, a sale, a newsletter. It makes the header image and the words that go with it. It does not build the email: the person drops the header into their email tool and pastes the words under it. An animated header is a different job.
Work on your own as far as you can: ask only for what you can't find, then go. Picture where the header runs. Someone opens the email on a phone. The header is the first thing on the screen, and they decide in a second or two whether to scroll or go back to the inbox. Sometimes the picture never loads at all.
Treat what follows as what usually works, not as a script. Where it says "maybe" or "usually", use your judgment.
Four things make an email header work:
- It is half of a pair. Many mail apps hold pictures back until the reader allows them. So the header never holds the only copy of the message: the same claim goes in live text under it, and its alt text says it again.
- It is read small. You export it 1200 pixels wide. A phone shows it about 375 wide, so every letter lands at a third of the size you set.
- The message sits in the top half. Reading panes and small screens show the top of an email first. The logo and the line sit in the upper half of the picture.
- It is light, and it has its own ground. A heavy file opens slowly on a phone signal. And a mail app in dark mode recolours the page around a picture but not the picture, so the header must look meant on a white page and on a black one.
The line and the logo are typeset in HTML in the brand's own font files and rendered by a browser. That needs a shell with Chrome, and Python with Pillow. Without them, stop after the picture is made and hand over the picture and the words.
Before you start
- You need the brand's website. Everything else you can usually find yourself.
- Ask once, and go on with the defaults if nobody answers: sends, built on the sign-up offer shown on the site. the wordmark. If yes, leave the logo out of the picture.
- What the email is for, and the page it opens. Default: a welcome email, the one every brand
- How wide the email is. Default 600 pixels. Some tools use 660: then export 1320 wide.
- Whether the email template has its own logo bar on top. Default: no, so the header carries
- The default job: one header in three versions that differ in the line, each at 1200 x 600 and 1200 x 800, an alt text for each, one block of live text, an overview on a light and a dark page, and a mockup in an email on a phone.
- Agree a spending cap, then quote before you spend: every
runcall takesestimate: true. - Pass
playbook: "email-headers"on everyruncall, anidempotency_keyon paid ones, and onebudget_tagfor the whole job, sospend_getcan report this job on its own. - Keep a progress note as you go: what is done, the run ids, and what was spent.
The specs
Email has no single owner, so there is no one spec page. These numbers come from the help pages of two large email tools, read on 3 December 2026. Re-check them before a big job.
- Mailchimp, help articles "Image requirements for templates" and "Use image content blocks in the new builder": classic templates are 600 pixels wide, new-builder ones 660. Images up to 1200 wide suit the first and up to 1320 the second, which is double size for sharp screens. RGB, 1 MB at most recommended, alt text on every image.
- Klaviyo, help articles "About email images best practices" and "Dark mode template design best practices": 1 MB or less recommended. 600 to 1000 pixels wide for a full-width image, or twice the size it is shown. "Always add alt text", because some inboxes block images. For dark mode: a solid ground that fills the image's whole space.
- Dark mode, from the Litmus guide "The Ultimate Guide to Dark Mode for Email Marketers" (client chart dated February 2025): mail apps either change nothing, or turn light page grounds dark, or also flip dark grounds and buttons. Pictures are left as they are.
What this playbook does with them:
- Size: 1200 wide for a 600 slot, the double size both tools describe. Two heights: 1200 x 600 (2:1, the short banner) and 1200 x 800 (3:2, a taller hero).
- File: JPG for a photograph, PNG only for flat colour and type. RGB, no transparency.
- Weight: 1 MB is the tools' ceiling, not a target. Aim for 200 KB or less for each header.
- Type, at 1200 wide: the line 80 pixels or more, anything else 44 or more. Divide by three to see what a phone shows: 44 becomes about 14.
1. Research the brand
- The site. Read the home, product and about pages. Write down what they sell and to whom, every claim and number with its qualifiers exactly as written, the offers showing today, and how they talk. This list is the only source of facts for your words. If the site refuses a plain fetch, load it in headless Chrome and read the page it renders. Its font and picture files still download when the request names the site as the referrer.
- The sign-up offer. Find the email sign-up box or pop-up and copy its offer with every condition: the amount, the minimum spend, how long a code lasts. A welcome email delivers on exactly that promise.
- Fonts. Find the brand's real font files: the ones the client sent, or the files behind the site's font rules. A site declares more fonts than it uses, so check which one the headlines use. Never a look-alike without saying so. Fonts from a font service are licensed to the brand's own site: say so when you deliver.
- Logo, colours, product photos. Take the real ones. Recolouring a one-colour logo file to white or to a brand colour is fine; redrawing it is not. Upload two to four clean product photos with
asset_upload. Check each is the product on offer, not a similar-named one. - Their ads, maybe. You can't look up a brand's past emails. Its ads show which messages it leans on: find the brand with
meta/ad-library/advertisers(several pages share a name), then read one page ofmeta/ad-library/search. A number seen only in an ad is not a fact for your copy: facts come from the site.
2. Write the words
Do this before any picture is made.
One picture, three lines. The versions differ only in the line set on the picture, so the person can send each to a part of the list and learn which message works. The picture, the layout, the type size and the live text stay the same in all three.
- A, the benefit: what the customer gets, in the brand's own claim.
- B, the offer: the sign-up or sale offer, with its conditions.
- C, the proof: a guarantee, a test or a count from the site, with its qualifiers.
- No offer or no proof on the site? Write a second benefit. Don't invent one.
The line. Write it for the short header, 1200 x 600. It is the hardest: the line gets two rows in the top half. A line that fits there fits the tall one.
- Two rows of about 14 characters each at most. That is what fits the type column at 88 pixels, in a sans and in a serif alike. Count before you grow fond of a line.
- A stranger should know what the brand sells from the line and the picture together. If the line only works once you know the product, add the missing noun.
- Plain words, the way the brand talks.
- State proof as a promise kept. "Socks get wet? New pair, on us" was read as the product failing. "Waterproof, guaranteed" was not.
- A support line under it, usually: one row of about 27 characters at most. It names the product if the line doesn't, or backs the claim. For an offer it is the conditions, on two rows if needed, and then it is not optional: "$20 off" needs "Min. $150 purchase" beside it. If the true version doesn't fit, pick another claim.
- No button in the picture. A drawn button can't be pressed, and with pictures off it is gone. The real button is live, under the header. The whole header is linked instead.
The alt text, one for each version. With pictures off, this is the header.
- The line and its support line first, then a few words on what the picture shows, with the brand's name in it. Keep it short: about 125 characters or fewer.
- Not "image of" or "banner". End with a full stop so a screen reader pauses.
The live text, one block for all three versions, pasted under the header as real text:
- A headline of eight words or fewer that repeats none of the three lines. With pictures on, the reader sees both, and the same words twice look like a mistake. A welcome or the product's name usually works.
- Two or three sentences, 45 words or fewer, that hold all three claims and every condition of the offer, word for word. This is the copy that survives when the picture doesn't.
- A button label of two to four words, and the link it opens.
- Maybe a subject line and a preview line. Keep them the same for all three versions and promise nothing that only one header shows, or the test measures the subject line instead.
Write the kit down. If anyone is there to look, get a yes before you generate.
3. Make the picture
One picture serves all six files. Read each endpoint's schema with endpoint_get before its first run. Ask for 3:2 at 2K. It comes back about 2528 x 1696.
The picture is the product, shown doing what the line claims. Water beading on a waterproof shoe, a swipe of foundation beside the stick. It has to suit all three lines, so don't add a second object for one of them: a gift bag put behind the product for the offer version was read as "an unexplained black lump" in the other two. The offer version names the gift in words.
Compose it in fractions of the frame, and say so in the prompt.
- The left 58 percent is calm ground with nothing in it, out of focus if it is a place. Say what it is: "the left 58 percent of the frame is only blurred dark wet asphalt".
- The subject sits in the right 35 percent, between 25 and 75 percent of the height. The short header is a band cut from the middle. Models overshoot: asked for 27 to 73, one gave 23 to 84. Ask for more air than you need.
- A surface runs along the bottom: the ground, a table. It keeps the tall header's lower left from being a dead blank. For a studio shot ask for the surface in the same tone as the backdrop, no lighter.
- Pick the ground for dark mode. The header needs its own ground to all four edges: a full photograph, or a seamless plain backdrop in a named brand colour ("in warm greige, hex C9BFB5"). Not white and not transparent: white melts into a white page and glares on a black one.
Which model makes what:
- A product in a scene, no face:
google/nano-banana-2.1with two to four real product photos as references, the product's telling details in words too, and its size ("about 9 cm tall"). Make two takes: they cost about three cents each and differ in where things land. - Packaging with fine print it got wrong: one pass with
openai/gpt-image-2.6/sunburst, the picture as image 1 and the pack shot as image 2: "change only the printed label, redrawn exactly as in image 2". - People: make the person with
higgsfield/soul-v2(four takes, pick one, a specific styled outfit), then pose and place them withgoogle/nano-banana-2.1. Feet and hands with no face need only the second model. - Software and services: the real screen, from real screenshots, on an iPhone 17 Pro or another named real device.
- The product is drawn into the scene, never pasted on. For more on people, products and screens, read the
meta-static-adsplaybook withplaybook_get.
Look at the picture with the crops drawn on it: the 3:2 frame, the middle band, a line at 56 percent of the width. Is the subject whole in both, with air? Is the left calm? Then look closely at hands, print and the product, part by part against the real photos.
Then place the frame by cropping, not by asking again.
- Cut a 3:2 window out of the master, 1800 pixels wide or more, and slide it. Cutting off the right side pushes the subject toward the right edge and makes it larger. Sliding the window up drops the subject lower and trades dead foreground for background.
- For the short header, slide the band up or down until the subject has air above and below.
- A retake that passed the last take as a reference returned the same picture, subject unmoved. If cropping can't fix it, write a fresh prompt from the product photos alone.
- An edit is right when you want the same picture with one change: "Keep image 1 exactly the same. Add small beads of water on the shoes."
4. Lay out and render
Build one HTML page for each file at its real size, 1200 x 600 or 1200 x 800 CSS pixels: the fitted picture filling the page, the type as text in the brand's font files, the real logo file. Resize the picture to its shown size with a Lanczos filter first.
- The type stack, top left, left-aligned, 72 pixels in from the left edge, in a column that ends by 56 percent of the width (672 pixels):
- the wordmark, 28 to 40 pixels tall, 48 to 72 from the top;
- the line, about 88 pixels, on two rows broken by hand;
- the support line, 44 pixels.
- The logo and the line end in the top half: by 300 pixels on the short header, 400 on the tall. The support line sits right under and may cross the middle.
- One type size for all six files. Set the longest row of the three lines first and let the rest follow. The tall header keeps the size and gives the room to the picture.
- Contrast. White or near-black type, whichever stands off the ground. On a photograph, lay a soft gradient of the ground's own dark colour under the column. Don't put the type in a box: a box in a header reads as a button.
- Edges. Square corners, picture to all four edges. No rounded corners, shadow, border or fade to white: each assumes a page colour that dark mode changes.
- Nothing smaller than 44 pixels. Small print that won't fit goes in the live text, and the claim that needs it leaves the picture.
- Have the page measure itself: a few lines of script that report where the line ends and how far right each text box runs.
Render each page with headless Chrome: chrome --headless=new --force-device-scale-factor=1 --hide-scrollbars --window-size=1200,600 --screenshot=out.png page.html. A fresh --user-data-dir and a time limit for each render, one at a time. Measure the PNG.
Save light, with Pillow.
- A photograph: JPG, progressive, colour subsampling off (4:4:4) so the edges of the type stay clean. Start at quality 88 and step down by 4 until the file is 200 KB or less. Stop at 72.
- In tests a street scene came to 170 KB at quality 84 to 88, a product on a plain backdrop to 65 KB at 88.
- Still over at 72? The picture is too busy: simplify the ground. Lower, the type goes soft.
- Look at the saved file at full size, at the letters most of all.
- Name each file with the brand, the version and the size:
acme_a-benefit_1200x600.jpg.
5. Show it in place
The overview, on light and dark. One image: two panels side by side, a white page and a near-black page (hex 121212), each with all six headers at 600 wide, labelled with version, size and weight. A ground that melts into the page, or a hard bright box, shows up here. Beside them a "pictures off" column: for each version an empty outlined box holding its alt text, with the live text and button under it.
The mockup. Two phones side by side, drawn in HTML and rendered at a scale factor of 3: an iPhone 17 Pro in light mode showing the tall header, and one in dark mode showing the short one.
- The phone: a dark rounded frame round a screen of 402 by 874 points, time and battery on top.
- A plain mail app in simple shapes and neutral colours: a back arrow, the subject line, a round badge with the brand's initial, the brand's name and "to me". No real mail app's name or logo.
- Then the email: the finished header file itself at the full width of the screen, placed by code so the type is the true type. Under it the live text and a button in the brand's colour.
- Set the live text in a system font such as Helvetica. Most mail apps don't load brand fonts, so that is what readers get.
- Say on delivery that it is a drawing of a mail app, not a screenshot.
6. Check every header
Look at each file at full size, then at 375 pixels wide. Check all of these:
- It is exactly 1200 x 600 or 1200 x 800, JPG or PNG, and 200 KB or less. Measure it.
- The logo and the line end in the top half. No text runs past the column or onto the subject.
- At 375 wide the line reads at arm's length and the support line can still be read.
- The subject is whole in both sizes, with air round it in the short one.
- A stranger can say what the brand sells from the header alone.
- On the white page and on the dark page the header has a clear edge and looks meant.
- No drawn button, play mark, countdown or anything else that looks pressable.
- Each alt text carries its version's line, in about 125 characters or fewer.
- The live text holds every claim and condition from all three pictures, and its headline repeats none of the lines.
- The real logo and fonts, every word spelled right, no letter edges gone soft.
- No signs of generation, and the product is the real one. Every claim is on the site today.
Then get a second pair of eyes. Ask google/gemini-4-argon to look at the mockup and the overview in one question, as someone opening the email on a phone: who is it from, what is on offer, what would they tap, what looks wrong or generated, which line is weakest? It costs about five cents. If it fails, ask any viewer that has not seen your work. Treat what comes back as leads to check, not a verdict: in the tests a second viewer caught a gift nobody could read and a proof line that sounded like a fault, and also called a real logo wrong.
Fix what fails before you deliver.
7. Deliver
- The six files as a folder and a zip. Upload the overview and the mockup with
asset_uploadso there are links to share. It takes pictures, not zips. - A table: each file with its version, what it tests, its weight and its alt text. Then the live text: headline, sentences, button label, link, and the subject and preview lines.
- How to place it: set the image block to the full width of the email so the 1200 file shows sharp at 600. Paste the alt text into the image's alt field. Link the whole image. Put the live text and a real button under it. Skip the tool's own compression: the files are light.
- How to test it: send the three versions to three equal parts of the list with the same subject line. Before that, send one to yourself, open it in dark mode and with pictures off.
- What it cost, from
spend_getwith the job's budget tag, claims the brand should confirm, any font licensed only to the brand's site, and known flaws. - Offer more: a no-logo set, a 1320 wide set for a 660 template, or the winning line as feed ads with
meta-static-adsor full-screen ads withstories-ads.
Watch out for
- The offer only in the picture. Many readers never see the picture.
- A whole email made of one tall picture. Dark mode can't adapt it and nothing in it can be read aloud.
- No invented statistics, reviews, press quotes, prices, awards or customers. An offer keeps every condition, in the picture and in the live text.
- No real people's faces, and nothing taken from another brand's ad but its structure.
- Health, finance and other regulated products need the brand's own wording and any required small print, in the live text at least. For supplements, "supports" is not "treats".