# Preview and test your email

{% hint style="info" %}

## Before you begin

* New to email templates? Check out [Create an email template](/xflow-app/email-templates/create-an-email-template.md)
* Want to customize the look and feel? See [Design your email templates](/xflow-app/email-templates/design-your-email-templates.md)
  {% endhint %}

## Preview your email

Click the email template you just created to open the preview.&#x20;

<figure><img src="/files/M9Qd3kJ8BxdeHSSxqOPP" alt=""><figcaption></figcaption></figure>

### Email details

{% hint style="success" %}
At the top of the preview page, you can review key details:

* **From:** The sender’s email address&#x20;
* **Subject:** The subject line that will appear in the customer’s inbox.
* **Reply to:** The email address for customer responses.
  {% endhint %}

<figure><img src="/files/MRzEs7MA575IHsK6OUzo" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Learn more:&#x20;

* [Control how your email is presented with email configs](/xflow-app/email-templates/control-how-your-email-is-presented-with-email-configs.md)
* [Create an email template](/xflow-app/email-templates/create-an-email-template.md#set-up-email-settings)
  {% endhint %}

### See how your email looks on different devices

You can switch between desktop and mobile viewports to see how your email will appear on different devices

{% tabs %}
{% tab title="Desktop" %}

<figure><img src="/files/bf2nKOFgi9bG31yv9hAs" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Mobile" %}

<figure><img src="/files/4SMkoFwKQ4jTVnr31L88" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

## Test your email

Before activating your email template, send a test email to preview how it appears in real inboxes.

{% hint style="info" %}
Notes:

* Test emails can only be sent to addresses in your configured test email list
* Sending a test email does not trigger workflows or customer notifications
* Dynamic product and customer data may use sample content during testing
  {% endhint %}

{% stepper %}
{% step %}

### Set up your test email list

{% hint style="success" %}
Steps:

1. In **Email templates**, select **Email settings**.
2. In the **Test emails** section, enter the email addresses you want to use for testing.
3. Add one email address per line.
4. Save your changes.
   {% endhint %}

<figure><img src="/files/7CBDw68C44SmJHxLBuRQ" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Send a test email

Open the email template you want to test, then click **Send test**.&#x20;

<figure><img src="/files/q7RlD2DAv2LNsvA1AGOt" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Add test data

* Recipients: Select one or more email addresses from your test list.

<figure><img src="/files/1kBEV8isEWtb8bsc859Q" alt=""><figcaption></figcaption></figure>

* Custom variables: If your email template contains custom variables, enter sample values to test dynamic content.

This helps simulate how dynamic content will appear in the final email.

{% hint style="info" %}
Learn more: [Understanding personalization variables in email templates](/xflow-app/email-templates/understanding-personalization-variables-in-email-templates.md)
{% endhint %}
{% endstep %}

{% step %}

### Check your inbox

Open your inbox to review the test email you just sent. Check the content, layout, links, and personalization to ensure everything appears correctly before sending emails to customers.

{% hint style="info" %}
If the email doesn’t appear in your inbox, you may find this article helpful: [Why emails go to the spam folder?](/xflow-app/email-templates/email-templates-faqs/why-emails-go-to-the-spam-folder.md)
{% endhint %}
{% endstep %}
{% endstepper %}

## Related articles

{% content-ref url="/pages/TKnI92gQJmDkXsTvgMSw" %}
[Manage email templates](/xflow-app/email-templates/manage-email-templates.md)
{% endcontent-ref %}

{% content-ref url="/pages/7mi2grXoNsptsyKEmoV6" %}
[Use email templates in campaigns and workflows](/xflow-app/email-templates/use-email-templates-in-campaigns-and-workflows.md)
{% endcontent-ref %}

{% content-ref url="/pages/Rey69myeVHiNlaksnEsa" %}
[Email templates: FAQs](/xflow-app/email-templates/email-templates-faqs.md)
{% endcontent-ref %}

***

#### 📩 **Need help?**

We’re here to make your XFlow experience smooth and successful.\
Our support team is always ready to assist you—no matter how big or small your question is.

<a href="https://admin.shopify.com/apps/xflow?chat=true&#x26;utm_source=foxecom&#x26;utm_medium=help_center_xflow_preview_and_test_your_email&#x26;utm_campaign=cta_button&#x26;utm_term=chat_now" class="button primary" data-icon="comment-lines">Chat now</a> <a href="mailto:contact@help.xflow.so" class="button secondary" data-icon="envelopes">Message us</a>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.foxecom.com/xflow-app/email-templates/preview-and-test-your-email.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
