AddThisFeature

Email Editor

Build a formatted email from blocks and send it or keep it as a template.

involved Editors & Builders

What it adds

A block-based email composer plus the exported markup and plain-text alternative it sends as.

What your agent is told to do

5
  1. 1

    Ship the small set of blocks a real email needs: text, image, button, divider, spacer, and a two-column row. Build those properly rather than a general layout engine.

  2. 2

    Extend the app's existing Rich Text Editor for text blocks instead of adding a second editing surface with its own toolbar and its own paste handling.

  3. 3

    Export to table-based markup with every style written inline. Modern layout techniques that look right in the preview are stripped or ignored by desktop mail clients and the email arrives unstyled.

  4. 4

    Send through the app's existing transactional email path, with its sender identity, unsubscribe handling, and delivery logging. Do not open a second send route from the editor.

  5. 5

    Generate the plain-text version from the block tree at export and let the author review it, rather than sending an empty alternative or a dump of the markup.

Edge cases it handles

8
  • Older desktop clients ignore modern layout entirely. Export nested tables with fixed pixel widths and confirm a three-block email survives a client that honours none of the preview's styling.
  • Styles declared in a head block are discarded by several clients. Inline every declaration at export and drop the ones no client honours rather than shipping markup that only renders in your own preview.
  • An email with no plain-text alternative scores badly with spam filters and is unreadable in text-only clients. Build one from the block tree, keeping link destinations visible in the text.
  • Images referenced by a relative or session-scoped address arrive as broken boxes. Rewrite every asset to an absolute, publicly readable, long-lived address at export, and cap the total image weight.
  • Clients that force dark mode invert light backgrounds and can leave dark text sitting on a dark panel. Check the colour pairs before send and warn on the ones that will vanish.
  • Many recipients block images by default. Every image needs alt text, and an email whose entire content is one large image arrives blank.
  • A half-finished campaign must not be lost to a closed tab. Autosave the draft and reuse the app's existing unsaved-changes warning on navigation away.
  • Sending is irreversible. Require a confirmation that names the recipient list and its size, and offer a test send to the author first.

Definition of done

9
  • Authors assemble an email from text, image, button, divider, and column blocks and save it as a template.
  • Exported markup is table-based with inline styles and renders in older desktop clients.
  • Every send carries a plain-text alternative generated from the same content.
  • Image assets are rewritten to absolute hosted addresses and total weight is capped.
  • Colour pairs that invert badly in dark mode are flagged before send.
  • Sending uses the app's existing transactional email path and unsubscribe handling.
  • Drafts autosave and a test send is available before the real one.
  • The feature matches the existing design system.
  • No existing functionality is broken.

Related features

How it works

  1. 1

    Copy the link

    Grab the Markdown instruction URL for this feature.

  2. 2

    Give it to your AI

    Paste it into Claude Code, Cursor, v0, Lovable — whatever you build with.

  3. 3

    It inspects, then implements

    Your agent reads your existing app first, then adds the feature to fit it.

Works with your stack

These instructions are written to adapt. They tell the agent to detect your framework, match your existing design system, and reuse what you already have — rather than assuming a particular stack.

Need it tighter than that? Customize the feature and tell it exactly what you're running.