> Add a countdown image that shows each email recipient their own time left, and enrol people from your email platform when they opt in.

Source: https://plandalf.com/docs/promos/email-countdowns

Deadline timers

# Countdowns in emails

Plandalf draws a countdown image for each email recipient with their own time left on it. This page covers adding the image, making it clickable and starting each person's clock from your email platform.

[![The Emails tab with enrolment instructions for Kit and the countdown image snippet](https://plandalf.com/docs/shots/promos/emails.webp)](https://plandalf.com/docs/shots/promos/emails.webp)

Instructions for your email platform, with your catch URL and countdown snippet filled in.

## Add the countdown image

Open the deadline timer's **Emails** tab. Under **Email timer code**, Plandalf shows the image tag written for the email platform you picked, with its merge tag filled in. Paste it into an HTML block in your email. The tag looks like this:

```html
<img src="https://countdown.plandalf.dev/YOUR-ORG/promo/your-promo.gif?pf_ref={{subscriber.email}}"
     alt="Time remaining on this offer" width="600" />
```

Swap `{{subscriber.email}}` for your platform's merge tag for the subscriber's email. Addresses with a `+` in them work even when your platform doesn't encode them. No email platform picked yet? Click **choose one** at the top of the tab, or set it under **Settings → Platforms**.

## What recipients see

-   Each time the email is opened, Plandalf draws the image with that person's time left, in the design from the deadline timer's **Appearance** tab.
-   The image counts down for a minute, then starts that minute again. The next open shows a fresh time.
-   Gmail keeps its own copy of images, so a Gmail reader may see the time from their first open for a while.
-   Once their deadline passes, the image shows your **Expired text**.

Opening the email enrols the person if they aren't enrolled yet, and their clock starts then. To start it earlier, enrol them when they join your list (below).

## Make it clickable

Wrap the image, or any button, in your deadline timer link so a click opens the right page for the reader's tier:

```html
<a href="https://YOUR-ORG.plandalf.dev/p/your-promo?pf_ref={{subscriber.email}}">
  <img src="https://countdown.plandalf.dev/YOUR-ORG/promo/your-promo.gif?pf_ref={{subscriber.email}}"
       alt="Time remaining on this offer" width="600" />
</a>
```

The **Make the countdown clickable** card on the Emails tab has your link ready to copy. See [Deadline timer links](https://plandalf.com/docs/promos/links-and-landing-pages).

## Set a start date

Add `&start_date=` to the image address to set when a new person's clock started, for example their signup date from your email platform. It takes UTC epoch seconds or milliseconds, ISO 8601 (`2026-04-01T00:00:00Z`) or `YYYY-MM-DD HH:MM:SS` in UTC. Plandalf ignores it for people already enrolled and for dates in the future.

## Change one image's look

The image uses the deadline timer's saved design. To change it for one email, add these to the image address:

Add

What it does

`variant=urgent`

Starts from another style: `clean`, `boxed`, `urgent`, `minimal`, `neon`, `purple` or `light`.

`label=`, `expired=`

The header text and the expired text.

`bg=`, `digitColor=`, `separatorColor=`

Colours, as hex without the `#`, such as `bg=000000`.

`w=`, `h=`

The image's width and height in pixels.

The same address ending in `.svg` instead of `.gif` gives a live SVG, and `.json` gives the person's tier and time left. The SDK uses these for countdowns on your site.

## Enrol people when they opt in

Step 1 on the Emails tab, **Enrol participants via an automation**, starts each person's clock the moment your email platform tells Plandalf they joined.

1.  ### Create the automation
    
    Click **Create enrolment automation**. Plandalf makes an automation called "Enrol into" your deadline timer's name, with a **Webhook** trigger and an **Enroll in Promo** step, and opens it with its catch URL ready to copy.
    
2.  ### Send people to the catch URL
    
    Follow the tab for your email platform, **Zapier** or **Custom API**. Each one has your catch URL filled in. Your platform posts the new subscriber to it, for example:
    
    ```json
    { "email": "jane@example.com" }
    ```
    
3.  ### Turn the automation on
    
    Plandalf creates it switched off. Turn it on in **Automations** when you're ready.
    

The **Enroll in Promo** step has three fields: **Ref** (any ID you'll also put in your links, usually the email), **Email** (optional when the ref is an email) and **Start date**. The automation Plandalf creates reads both ref and email from the `email` field. You can add the step to any automation, such as one that starts after a purchase. See [Build a sequence](https://plandalf.com/docs/automations/build-a-sequence).

Something wrong or missing? Email [hello@plandalf.com](mailto:hello@plandalf.com).
