Widgets

Sparklines in email, drawn fresh at every open.

A compact trendline for metrics that move: revenue, signups, prices, activity streaks. The chart is a plain image URL that re-renders on every open, and the data behind it can come straight from your email platform's merge tags — one chart design, a different line for every recipient.

Sparkline chart widget for email rendered by DynaMail: a stock-style card with a rising trendline and current price

A real render produced by DynaMail’s image pipeline.

Create a free account

Free while in beta · No credit card required

How it works

Every DynaMail widget is a plain image URL. Design it in the dashboard, then paste the URL into an <img> tag — or your email editor’s image block — like this:

Example embed snippet

<img src="https://img.dynamail.io/widgets/YOUR-WIDGET-ID/render.png" width="400" height="180" alt="" />

YOUR-WIDGET-ID is a placeholder — every widget you create gets its own id. The file extension requests the output format — gif, apng, webp, or png. Depending on the design, an animated widget may be served in an animated format even when a static extension is requested.

Because the image is rendered when the email is opened — not when it’s sent — each open shows the current state (renders are cached for at most a minute). No script, no custom HTML, nothing for your email platform to strip out.

What it’s for

  • Weekly KPI digests — the trendline reflects the latest numbers at open time
  • Market and price newsletters — a chart that is current when read, not when sent
  • Customer usage recaps — each account sees its own activity curve
  • Creator and community stats — followers, views, or streaks over time

Personalize it in the URL

The data behind the widget — its values, chart points, and text placeholders — can come from the URL. Append query parameters, or your email platform’s merge tags, and each recipient’s open renders from their own data.

?data=…Replace the chart data: a JSON array of arrays, one inner array of numeric points per line — e.g. data=[[12,18,14,22,30]]

Frequently asked questions

How do I embed a sparkline in an email?

Design the chart in the DynaMail dashboard and paste its image URL into an <img> tag in your template. It is a standard image, so it works in any email tool that can display images.

Where does the chart data come from?

From the widget's configuration — or from the URL. Pass ?data= with a JSON array of arrays (each inner array is one line's numeric data points) and the chart renders from exactly those values. Your email platform can build that parameter from each recipient's data.

Does the chart update after I send?

Yes. The image is rendered at open time, so when you update the widget data in the dashboard — or the URL parameters carry new values — every later open draws the current chart.

What does it cost?

DynaMail is free while in beta: every widget type, 10,000 renders a month, and no credit card required.