> For the complete documentation index, see [llms.txt](https://docs.shopwaive.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shopwaive.com/shopify/email-and-campaigns.md).

# Email and Campaigns

Send email to one customer with the email editor or with Shopify Flow. For campaigns, use Klaviyo or Shopify Messaging

{% hint style="info" %}
On Feb. 1, 2024, Google and Yahoo began enforcing new email sender requirements. [Learn more about how to meet the new requirements](https://academy.klaviyo.com/2024-new-sender-requirements-checklist/1817230) from our partners at Klaviyo
{% endhint %}

## Features and functionality

{% hint style="info" %}
Email messaging provides an opportunity to notify customers of a new Shopwaive balance or adjustments from order refunds, but can also be used for marketing, promotions, and new customer acquisition strategies
{% endhint %}

Begin sending email after you authenticate your branded sending domain in the Shopwaive app under **Settings** > **Email**. Follow [Setup branded email](https://docs.shopwaive.com/shopify/install/setup-branded-email.md). The sender is your store's sender email from the Shopify admin (**Settings** > **Notifications**), and its domain must be the root domain you authenticate

In the app, the branded sending domain can be set up only by a store on the [Shopwaive Checkout](https://docs.shopwaive.com/shopify/pricing.md) plan that is also on Shopify Plus.

To show balances in Klaviyo email and SMS, and build Klaviyo segments and flows on them, see [Klaviyo](https://docs.shopwaive.com/shopify/email-and-campaigns/klaviyo-email-and-sms.md).

## Send email manually, one at a time

With the email editor, you build the email from blocks, add merge tags with one click and see a live preview beside your fields: see [Send an email to a customer](https://docs.shopwaive.com/shopify/email-and-campaigns/send-an-email-to-a-customer.md).

Open **Customers**. On the customer's row, click **...**, then **Send email**. Or open the customer and click **Send email** at the top of their page.

## Send email in bulk

For campaigns, use [Klaviyo](https://docs.shopwaive.com/shopify/email-and-campaigns/klaviyo-email-and-sms.md) or Shopify Messaging. Shopwaive's [Send email](https://docs.shopwaive.com/shopify/shopify-flow.md#send-an-email-when-credit-is-deposited) action in Shopify Flow sends one email to one customer each time it runs. Its older **Send to all customers with a balance** field no longer sends

## Gift code emails

A gift code can be emailed when it is created: by the [Create gift code](https://docs.shopwaive.com/shopify/shopify-flow.md#create-a-gift-code-and-optionally-send-email) action in Shopify Flow, with its **Send Email with Shopwaive** or **Send Email with Shopify** option, or by the **Send Gift Cards** tile on [Shopify POS](https://docs.shopwaive.com/shopify/shopify-pos.md). The app has no button that emails gift codes to all customers.

Templates saved with the earlier HTML editor use the HTML merge tags below. Shopwaive still fills them when the Create discount or Create gift code action in Shopify Flow sends a saved template.

## HTML Merge Tags

Keep a sample value inside each tag, as shown below. Shopwaive replaces that sample with the customer's value wherever the same text appears in the email, so use a sample that appears nowhere else. A tag left empty breaks the email.

### Balance or gift code balance

Depending if you are designing a balance template or a gift code template, this merge tag can be used interchangeably to display the customer's available balance or their gift code balance.

```markup
<span id="_credit_value">$8.00</span> 
```

### Customer email

This tag is the customer recipient's email address associated with their Shopwaive account.

```markup
<span id="_customer_email">customer@example.com</span> 
```

### Discount code

This tag is used when creating a discount code template that can be referenced in a [Shopify Flow ](https://docs.shopwaive.com/shopify/shopify-flow.md#create-a-discount-code-and-optionally-send-email)using the [Create discount](https://docs.shopwaive.com/shopify/shopify-flow.md#create-a-discount-code-and-optionally-send-email) action. Upon any Shopify action or webhook, a discount code can be sent to individual customers or an entire customer segment using the [Create discount](https://docs.shopwaive.com/shopify/shopify-flow.md#create-a-discount-code-and-optionally-send-email) action. Alternatively, you are not required to send the code via email, simply opt-out of using Shopwaive email and the discount code will be created and can be accessed in your Shopify Discounts admin.

```markup
<span id="_discount_code">SAMPLECODE</span>
```

### Gift card code

This tag is used when creating a gift code template that can be referenced in a [Shopify Flow](https://docs.shopwaive.com/shopify/shopify-flow.md#create-a-gift-code-and-optionally-send-email) using the [Create gift code](https://docs.shopwaive.com/shopify/shopify-flow.md#create-a-gift-code-and-optionally-send-email) action.

{% hint style="info" %}
Before you begin using this merge tag, ensure you meet the requirements to use this feature. To use this enterprise feature, you must have an active Shopwaive Checkout subscription plan and a Shopify Plus subscription. If Shopify does not create the gift card, the Create gift code step fails in Flow with a message, and no email is sent. The email is sent only when your sending domain is authenticated.
{% endhint %}

```html
<span id="_gift_card_code">SAMPLEGIFTCODE</span>
```

We recommend sending email mindfully: your sender reputation depends on your bounce and complaint rates, and excessive sending can get your address marked as spam.

Have questions on any specific features? [**Contact us**](mailto:support@shopwaive.com)
