Widgets

Sparklines in email, connected to your data.

A compact trendline for revenue, signups, prices, or activity streaks. Supply its data from a public JSON source or your email platform's merge tags — one chart design, a different line for every recipient. DynaMail renders when the image is requested; email clients may cache the result.

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.

DynaMail renders when the image is requested and briefly caches the result. Email clients and their image proxies can also cache images, so a later open may reuse a previous response. No script, no custom HTML, nothing for your email platform to strip out.

What it’s for

  • Weekly KPI digests — a compact view of metrics from a connected source
  • Market and price newsletters — trends that can update after sending
  • 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, a public JSON source, or the URL. A connected source supplies a list of numbers; DynaMail attempts a new read on the first image request after its refresh window expires. Pass ?data= with a JSON array of arrays to override the data, one inner array per line. Your email platform can build that parameter from each recipient's data.

Does the chart update after I send?

Yes. Later image requests can use updated dashboard data or a fresh read from your connected source. Values embedded in a sent URL remain fixed unless your email platform changes them. Email clients and image proxies may reuse an earlier image instead of making another request.

What does it cost?

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