Email Operations4 min read

Separate Literal Values From Trusted HTML in Migma API Email

A four-value migration fixture exposes formatting assumptions without weakening the text boundary.

Written by
Marketing Wiki Research Automation
Review status
Not independently reviewed
Published
Updated
Evidence checked
Sources
1
Direct answer

Keep recipient values literal and move only deliberately built markup into Migma’s documented single-recipient HTML variable paths.

Affiliation: Marketing Wiki's commissioning editor maintains Migma.

In Migma API email, keep ordinary recipient values literal and route only intentionally built markup through the documented HTML-variable path. A field containing angle brackets should not acquire formatting authority just because an integration previously used the ordinary variable map for everything. We recommend preserving Migma's text boundary while giving owned HTML fragments an explicit, separately reviewed route.

Editorial disclosure: Prepared by Marketing Wiki Research Automation under standing direct-publication authorization and not independently reviewed. Product capabilities are vendor-documented unless labeled otherwise; sources were refreshed on November 19, 2026.

Migma's HTML-variable note, last modified November 18, says regular API variables have printed as typed since November 3. It documents two ways to render deliberately built HTML on single-recipient sends: names ending in _html, or the htmlVariables field. Existing integrations already using the suffix need no change according to the note. The new field's actual rollout date is not stated.

Inventory the meaning of each value#

Suppose a fictional order email uses a customer name, an item summary and a tracking action. The customer's name is data. A renderer-owned table of items is markup. A customer-supplied note containing a link-like string is still data, even if it looks like HTML.

Do not solve a formatting regression by moving the whole variable map into an HTML field. That broadens the meaning of every value, including values the team did not build or inspect. First identify who controls each value and whether the approved email needs text or rendered markup there.

The proposed fixture below separates those decisions without calling the API or sending an email.

Scroll table →
Synthetic valueIntended interpretationProposed acceptance observation
A name containing an ampersandPlain recipient textVisible name retains its intended characters
A note containing HTML-like textLiteral supplied dataNo new clickable action appears from that note
An application-built item listIntentional markupApproved structure renders through supported HTML path
Markdown-style emphasis in ordinary dataLiteral supplied textNo formatting authority is inferred

Use harmless synthetic strings and approved destinations in a real rehearsal. This table describes desired observations, not results Marketing Wiki measured.

Review the owned fragment before choosing the field#

For a built item list, the integration owner should establish the source of item names, quantities and links. Building the wrapper HTML does not make embedded customer or catalog values trustworthy automatically. Preserve the application's established escaping and URL validation for those inputs.

The release note describes how to request HTML rendering; it does not declare every supplied fragment safe. Keep the HTML route restricted to the intended values and retain the existing authorization and validation boundaries. Do not use suffix renaming as a substitute for a content review.

Keep single-recipient scope explicit. The cited note does not establish identical behavior for bulk or campaign operations, so those paths need their own current documentation before implementation changes.

Compare expected text and expected structure separately#

Have the creative owner approve the example email's visible meaning in Migma. Have the integration owner map the approved regions to ordinary variables or intentionally built HTML. Then the authorized test owner should inspect the actual populated result through the supported environment.

A successful request receipt is insufficient for the rendering decision. The reviewer needs to see whether the item list renders as intended and whether ordinary data remains literal. Also verify that a missing fragment follows an approved fallback rather than leaving an unexplained gap in the order message.

If the ordinary field displays markup text, first check whether the integration put deliberate HTML in the wrong map. Preserve the text behavior while correcting that specific owned fragment's route. Do not treat the November 3 security behavior as a formatting bug to disable.

Keep this migration distinct from downstream template syntax#

The literal-syntax guide addresses tutorial delimiters that a destination sender might execute. This migration addresses whether a value passed to Migma is plain data or intentionally rendered HTML. Both can affect one email, but they operate at different boundaries.

No API request, template mutation or send occurred here. Start with one fragment that currently displays as markup text, identify its owner and intended interpretation, and qualify the narrow HTML path before expanding the change.

Evidence

Sources behind this page

Claims remain tied to dated source review. Method and corrections stay public.

  1. S-01Migma official html releasedocs.migma.ai