Email prompt builder

Generates a prompt for your HTML email generator—not the email itself.

Campaign inputs

AI Quick Brief — describe your campaign and let AI fill in the fields below
No file selected

Used as directional guidance for the CTA wording, not exact button text.

Same seed keeps the same prompt recipe. New seed = new prompt wording, structure, and variation rules.

Prompt blocks

Fast path: enter brand + offer, then optionally audience and creative style. The builder will infer a stronger creative route for you.

Generated prompt

Creative preview

Add API keys in Settings, then generate a preview here.

Refresh Creative

Provide a reference creative and the AI will rebuild it visually — same look to a human, fresh HTML structure underneath.

No image selected
Options

Refresh preview

Saved prompts

Store snapshot prompts you want to revisit, compare, or reload into the builder.

API settings

Keys and defaults are saved on this local server on this Mac.

API Access

Your mailing system can use this key to pull prompts from the library or generate new ones on the fly via /api/prompt and /api/library.

Pass this as the X-API-Key header on every API request. This key is auto-generated and stored on the server — it cannot be changed here.

How preview works

The app sends your saved key and current prompt to the local server running on this Mac, which forwards the request to OpenAI or DeepSeek and returns the generated HTML so you can inspect it.

  • Your prompt builder still works without any API keys.
  • Preview uses the current prompt exactly as shown in the Builder tab.
  • The saved prompt library is stored on the local server (survives browser changes).
  • Export/import JSON from the Saved tab to migrate prompts between machines.

Keep the server running

To run the server in the background so it stays up after closing the terminal, install pm2 and run:

npm install -g pm2
pm2 start server.mjs --name prompt-maker
pm2 save && pm2 startup