---
title: "Email notifications"
url: "https://zendra.com/docs/email-notifications/"
description: "Customize the transactional emails Zendra sends members — edit the copy and Liquid variables, send yourself a test, and turn individual emails on or off."
modified: "2026-09-21T00:00:00.000Z"
---

# Email notifications

Customize the transactional emails Zendra sends members — edit the copy and Liquid variables, send yourself a test, and turn individual emails on or off.

Zendra sends transactional emails to members at each step of their membership — activation, renewals, payment problems, cancellation, and more. Every email is on by default and is fully editable, so you can match your brand’s wording and choose which ones your members get.

## When you’d use this {#when-youd-use-this}

- Rewrite the default copy so it sounds like your store, not a generic app.
- Personalize an email with the member’s name, plan, or renewal date.
- Show different content to members of different plans.
- Preview exactly what a member will receive before you save a change.
- Turn a specific email off because you handle that moment another way.

## How it works {#how-it-works}

Zendra ships nine lifecycle emails, each tied to a membership event:

- **Membership activated**: the membership starts and perks are live.
- **Membership renewed**: a subscription payment succeeded.
- **Membership upcoming renewal**: a renewal is approaching.
- **Membership payment failed**: a billing attempt failed.
- **Membership ended for non-payment**: the automatic payment retries ran out, so the membership ended. It replaces **Membership canceled** for these members, and invites them to join again.
- **Membership canceled**: the member (or you) cancelled.
- **Membership expired**: a fixed length membership reached its end date.
- **Membership ending soon**: a membership is approaching expiry.
- **Membership expired reminder**: a nudge to rejoin after a membership ends.

If you sell gift memberships, three more emails cover the gift:

- **Gift claim invite**: invites the recipient to claim the gift.
- **Gift ending soon**: the prepaid gift period is approaching its end.
- **Gift expired**: the prepaid gift period has ended.

Each email has its own subject, preview text, and body, and each can be edited or switched off independently.

### 1\. Open the notification editor {#1-open-the-notification-editor}

In the Zendra admin, go to **Settings » Notifications**. You’ll see every email listed, with a **Disabled** badge on any that are turned off.

### 2\. Edit the content {#2-edit-the-content}

Select an email to edit its **subject**, **preview text**, and **body**. The body uses a Liquid editor, so you can mix your own copy with variables that fill in per member: the **membership**, the **customer** it belongs to, and your **shop**. For example, you can add the member’s first name, the plan name, the next billing date, and your store name. [Liquid variables](https://zendra.com/docs/email-notifications/#liquid-variables) lists every variable and filter.

### 3\. Know when each email sends {#3-know-when-each-email-sends}

Each email sends when its event happens, with one exception: the **Membership expired reminder** goes out 15 days after a membership expires, so the nudge to come back lands well after the **Membership expired** email rather than beside it.

### 4\. Turn emails on or off {#4-turn-emails-on-or-off}

Each email’s edit screen has a **Disable email** button at the top (it reads **Enable email** while the email is off). Turn an email off when you handle that moment another way and don’t want Zendra to send it; the other emails keep working, since enabling or disabling one never affects the rest. An email that’s turned off shows a **Disabled** badge next to its name, both on its edit screen and in the notifications list, so you can see at a glance which emails are live.

### 5\. Send yourself a test {#5-send-yourself-a-test}

Before you save, click **Send test email** to see exactly what a member would receive. Zendra renders the template with sample data (a stand-in member, plan, and dates, plus your store’s real details) and sends it to your store’s contact email in Shopify, so you can check the copy, formatting, and Liquid in a real inbox instead of guessing from the editor. The test uses what’s in the editor, so you don’t need to save first. Send a test, read it, and save once it looks right.

## Which language members receive {#which-language-members-receive}

Zendra sends each email in the member’s own language: the language on their Shopify customer record when Zendra supports it, or your store’s language when it doesn’t. New stores also start with default emails in the store’s language.

This happens automatically for every email you haven’t edited, which shows a **Default** badge on its edit screen. Once you edit an email’s subject, preview text, or body, it shows a **Customized** badge, and the parts you edited go out exactly as you wrote them to every member, whatever their language. To go back to the translated defaults, open the email and click **Reset to default**. (That replaces your edits, so copy anything you want to keep first.)

## Customize content for each plan {#customize-content-for-each-plan}

Liquid conditions let one email say different things to members of different plans. Compare `membership.plan_slug`, the plan’s short identifier, to the slug of each plan you want to target:

```
{% if membership.plan_slug == 'gold' %}
As a Gold member, every order ships free.
{% elsif membership.plan_slug == 'silver' %}
As a Silver member, you get 10 percent off everything in the shop.
{% else %}
Thanks for being a member!
{% endif %}
```

To find a plan’s slug, open the plan in Zendra: it’s shown under the plan’s name, as **Plan slug: gold**. Zendra creates the slug from the plan’s name when you add the plan, and it never changes after that. So if you later rename “Gold” to “Gold Club”, the condition above keeps working, while one that compared `membership.plan_name` would quietly stop matching.

Comparisons are exact, so match the slug’s spelling and lowercase letters. With several plans, `case` reads more cleanly than a long run of `elsif`:

```
{% case membership.plan_slug %}
  {% when 'gold' %}
    Your Gold perks include free shipping on every order.
  {% when 'silver', 'bronze' %}
    Upgrade to Gold any time for free shipping on every order.
{% endcase %}
```

Each email covers one membership, so these conditions check the plan that email is about, not every plan the customer holds. A test send uses a sample plan with the slug `fellowship-membership`, so it shows your `else` content (or nothing) rather than a specific plan’s.

## Liquid variables {#liquid-variables}

These are the variables you can use in an email’s subject, preview text, and body. Write a variable in double curly braces, such as `{{ customer.first_name }}`, and add a filter after a pipe to format it, as in `{{ membership.next_billing_date | date: "long" }}`. A variable an email doesn’t have renders empty.

Every email except **Gift claim invite** has the `membership`, `customer`, and `shop` variables below.

### Membership {#membership}

| Variable | What it holds |
| --- | --- |
| `membership.plan_name` | The plan’s name. |
| `membership.plan_slug` | The plan’s slug, which never changes after the plan is created. Use it to [customize content for each plan](https://zendra.com/docs/email-notifications/#customize-content-for-each-plan). |
| `membership.has_subscription` | `true` when the membership renews through a subscription, and `false` for one-time purchases. |
| `membership.has_perks` | `true` when the plan includes perks. |
| `membership.has_discord` | `true` when the plan is live and has an active Discord access perk. |
| `membership.manage_url` | The link to this membership’s page in the member portal, where the member manages it. In a test send, it opens the portal’s list of memberships. |
| `membership.discord_url` | The link to this membership’s Discord page in the member portal, where the member connects their Discord account. For a membership without a Discord perk, it opens the membership’s page instead. |
| `membership.payment_amount` | The subscription’s payment amount, or `0` without a subscription. In **Membership payment failed**, it’s the amount of the failed payment. Format it with `money`. |
| `membership.payment_method_description` | The payment method in words, such as “your Visa ending in 4242” or “your PayPal account” followed by its email, and “your payment method” when the type isn’t known. |
| `membership.payment_method_type` | One of `credit_card`, `paypal`, `bank_account`, or `other`. |
| `membership.payment_method_account` | The masked card number, PayPal email, or bank account. It reads `unknown` for a membership without a subscription. |
| `membership.next_billing_date` | The next renewal date. Empty for one-time purchases. |
| `membership.expiry_date` | The date the membership expires, if it has one. |
| `membership.current_period_end` | The date the member’s paid-for access runs until: the next billing date, or the expiry date when there isn’t one. |
| `membership.last_failed_payment_date` | The date of the last failed payment, when the most recent payment attempt failed. |
| `membership.last_failed_payment_error_code` | The error code for that failed payment. |
| `membership.last_failed_payment_error_message` | The error message for that failed payment. |

The **Membership payment failed** email also has `payment_retries_remaining`: the number of times Zendra will try the payment again.

The **Membership ended for non-payment** email also has:

| Variable | What it holds |
| --- | --- |
| `access_continues` | `true` when the member already paid for a period that’s still running, so their perks last until `membership.current_period_end`. `false` when the membership ended straight away. |
| `signup_url` | The link your sign-up button uses (see [Directing non-members to sign up](https://zendra.com/docs/directing-non-members-to-sign-up/)). Empty when your store doesn’t show a sign-up button, so the default email leaves out its **Join again** button. |

### Customer {#customer}

| Variable | What it holds |
| --- | --- |
| `customer.name` | The customer’s full name, from their Shopify customer record. |
| `customer.first_name` | The customer’s first name. |
| `customer.last_name` | The customer’s last name. |
| `customer.email` | The customer’s email address. |

### Shop {#shop}

| Variable | What it holds |
| --- | --- |
| `shop.name` | Your store’s name. |
| `shop.email` | Your store’s customer contact email. |
| `shop.url` | Your store’s web address: your own domain if you have one, such as `https://your-store.com`, otherwise your `myshopify.com` address. |
| `shop.address` | Your store’s address, on one line. |
| `shop.phone` | Your store’s phone number. |
| `shop.currency` | Your store’s currency code, such as `USD`. |

### Gift claim invite {#gift-claim-invite}

The recipient of a gift isn’t a member until they claim it, so **Gift claim invite** has its own variables instead of `membership` and `customer`:

| Variable | What it holds |
| --- | --- |
| `plan.name` | The gifted plan’s name. |
| `plan.slug` | The gifted plan’s slug. |
| `recipient.name` | The recipient’s name. |
| `recipient.email` | The recipient’s email address. |
| `sender.name` | The name of the person who sent the gift. |
| `claim_url` | The link the recipient opens to claim the gift. |

It also has the `shop` variables.

### Filters {#filters}

Alongside Liquid’s standard filters, emails support:

- **`date`**: formats a date in the member’s language. `date: "long"` gives a date like October 7, 2026, and `date: "short"` gives Oct 7, 2026. You can also pass a `strftime` format, such as `date: "%B %d"`.
- **`money`**: formats an amount using your store’s money format for emails, as in `{{ membership.payment_amount | money }}`.
- **`money_with_currency`**: the same, with the currency code added.
- **`pluralize`**: picks the singular or plural form of an English word to match a count, as in `{{ payment_retries_remaining }} {{ payment_retries_remaining | pluralize: 'attempt' }}`.
- **`link_to`**: turns text into a link, as in `{{ 'Manage your membership' | link_to: membership.manage_url }}`.

## Editing Liquid safely {#editing-liquid-safely}

The body is Liquid, so a small syntax slip (an unclosed tag) can break rendering. Zendra validates Liquid when you save and shows an error if the template has invalid syntax. Fix the error, then save again. Edit one block at a time, and use **Send test email** to preview a change. Variables that don’t exist for a given email simply render empty rather than erroring.

## Undeliverable email addresses {#undeliverable-email-addresses}

If an email to a member bounces permanently (the address doesn’t exist or refuses mail), or the member marks one of your emails as spam, Zendra marks their address as undeliverable and stops sending membership emails to it. The member’s profile on their membership’s page shows an **Email undeliverable** badge, and the **Email undeliverable** tab on the Memberships page lists everyone affected.

To start sending again, update the customer’s email in your Shopify admin. Zendra uses the new address from then on.

## Common issues {#common-issues}

- **An email isn’t arriving.** Check that the email is enabled, and confirm the member has a valid email on their Shopify customer record that isn’t marked [undeliverable](https://zendra.com/docs/email-notifications/#undeliverable-email-addresses). (The **Membership expired reminder** waits 15 days after expiry, so it won’t arrive right away.)
- **A test email didn’t arrive.** Test sends go to your store’s contact email in Shopify, so check that inbox’s spam and filters. If your store has no contact email, Zendra shows an error instead of sending the test.
- **A variable shows up blank.** The variable name is likely misspelled, or it isn’t available for that email type. Check it against [Liquid variables](https://zendra.com/docs/email-notifications/#liquid-variables). A test send catches misspellings, but its sample data fills in every variable for every email, so it won’t show you a variable that the real email doesn’t have.
- **A plan condition never matches.** Compare `membership.plan_slug` rather than the plan name, and check the slug’s spelling and case on the plan in Zendra.
- **A member got an email in a different language than you expected.** Default emails follow the member’s own language from their Shopify customer record. An email you’ve customized goes out in the language you wrote it in.
- **A member whose payments failed didn’t get the Membership canceled email.** When the automatic retries run out, Zendra sends **Membership ended for non-payment** instead, so check that email’s settings.
- **The email sent later than expected.** Apart from the **Membership expired reminder**, emails send when their event happens. If an email arrives much later than that, contact support to investigate delivery.

## Keep learning {#keep-learning}

- [Membership lifecycle & billing recovery](https://zendra.com/docs/membership-lifecycle/) — the events that trigger these emails.
- [Managing members](https://zendra.com/docs/managing-members/) — where member records and statuses live.
- [Recurring billing & subscriptions](https://zendra.com/docs/recurring-billing-subscriptions/) — how renewals and failed payments work.
