Create marketing email
kopi.create_emailFull Description
Use this when the user wants a marketing email (copy + layout) as responsive HTML for an e-commerce brand. Optionally accepts a brand URL to match tone and visual style. Do not use for personal emails or to send emails on the user's behalf. The email preview renders in a widget; do not output HTML or code in the assistant response.
Parameters (1 required, 2 optional)
promptstringThe email request or modification. Examples: "Launch email for new collection with 15% off", "Make it shorter and more premium".
brandUrlstringRECOMMENDED: User's company website URL. Kopi fetches it to extract brand colors, fonts, and voice for on-brand emails. Always ask the user for this before creating an email if you don't already know it.
previousRequestIdstringPass this to modify a previous email draft.