> For the complete documentation index, see [llms.txt](https://help.pickyassist.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.pickyassist.com/setting-up-guide/email-builder.md).

# Email Builder

### Introduction

The Email Builder helps you create professional, personalized email templates. Tailor content for each recipient without technical expertise.

For example, create personalized product recommendations, abandoned-cart reminders, and promotional offers. Attribute mapping automatically adds customer-specific details, such as names and recent purchases. Use [chatbots](/setting-up-guide/setting-up-flow-builder.md), [funnels](/setting-up-guide/setting-up-modular-crm/funnels.md), [workflows](/setting-up-guide/setting-up-modular-crm/workflows.md), [connectors](/setting-up-guide/setting-up-connector.md), and [mini apps](/setting-up-guide/setting-up-connector/building-mini-app.md) to send these emails at the right time.

**Key Features:**

* Drag-and-drop interface for easy customization.
* Attribute mapping for personalized messages.
* Customizable content blocks for dynamic and organized layouts.
* Loop block for repeating sections from iterable data.

{% hint style="info" %}
Connect an email channel before sending email. Supported channels include [**SMTP**](/setting-up-guide/connecting-channels/connecting-smtp.md), [**SendGrid**](/setting-up-guide/connecting-channels/connecting-sendgrid.md), and [**Amazon SES**](/setting-up-guide/connecting-channels/connecting-amazon-ses.md).
{% endhint %}

### Getting started

#### Create an email template

To create an email template:

1. Navigate to **More Menu → Email Builder**.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FtAl3xt4S1F12ZFRcT6Hh%2Fimage.png?alt=media&amp;token=4c3e6d00-b51c-4c11-91d5-0fc7afccc45c" alt=""><figcaption></figcaption></figure>

**Saved templates**

The left side of the Email Builder lists your saved templates.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2F1yr78HJTcXdH86cJoYhH%2Fimage.png?alt=media&amp;token=2ce11eff-cacb-46fa-a684-125a33d45bac" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXepPcVj9GBxr0yvuJB9YDKlFrpr3rdUgbtAVizCa_nVKd2qQgxxyv2C-G7qqXLIF5jwmQ_1k8P2kTCvr_SuQX5AwVASGQu_qe0yj19aYN17x9qvct33TJT8CmbV1BFLF4azosNfkBRBeaNlffxG3d-KF6u4?key=ezZm1wHYtRw28PmfbtRk_Q" alt=""><figcaption></figcaption></figure>

Click **Sort** to sort saved templates. Use the search field to find a specific template.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FPhdf341lNRQ5qWegTJK2%2Fimage.png?alt=media&amp;token=f9440588-feae-4396-9fac-7908f04f7c44" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe9FiNpwwXL07lFOuRkL_NOpqDHkNJUhVzH27ykavpwOx3Ni0gJNKUWA2g0P6braR1-QByVOMuKIUsoAxN-8kte_gc2q64Es6mPkqGgPTsjOth4Qc1jRppiPPQsekcge6U_ouWYydqQ8Dgh5Bgl1C9wscg?key=ezZm1wHYtRw28PmfbtRk_Q" alt=""><figcaption></figcaption></figure>

To preview a template, click its eye icon. To delete it, click **Delete**.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FvblYkodYzEdR4sfkA3n0%2Fimage.png?alt=media&amp;token=56a4de23-629b-4077-8ee6-e03c71518cbf" alt=""><figcaption></figcaption></figure>

To duplicate a template, open its preview and click **Duplicate this template**.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FDAdjVjEse2I3Mk4IW5Ea%2Fimage.png?alt=media&amp;token=e6c41881-e5a8-466a-bc92-26e08af376e7" alt=""><figcaption></figcaption></figure>

Use a **Pre-Built Template** to select and customize an existing template.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2F8nRyuGtTE7d0z1Xap78C%2Fimage.png?alt=media&amp;token=78a04f29-dea4-43c6-bf15-bd6a7875f050" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXczFZ98z8v9eErpsR0idYWJcLNGcvJww6KoAGixhommnhS582vvNLw29MuqqGYBkgVReR5qOlmOs6kj6vL3j_ewTsqdS8x7N9ZG47WmqoNV5IbkkOTrJ0tOvtuzx5XETsYPy8tARpWD2bCeQIzJSK-4JLxi?key=ezZm1wHYtRw28PmfbtRk_Q" alt=""><figcaption></figcaption></figure>

2. To start from scratch, click **Create from Scratch**. Then drag content blocks onto the blank canvas.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2Fxs8ANo8Ktsbxpel83HYj%2Fimage.png?alt=media&amp;token=72656617-69c1-4e04-9928-4044322dafac" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdDHoyGGISTSpFpBhcW8jCixuoEwc2_hut_RRP2wsqI6aWw0n7_i4EMqPFh5T1TKeG5gz2mwQktEH2_-MgkxLWc2leXnv6dkKXdA7aTyIuD4wZriuMc8oS0PErElB2gK82F_X92IbReB3Lh358g1gjPYNS4?key=ezZm1wHYtRw28PmfbtRk_Q" alt=""><figcaption></figcaption></figure>

3. Select the desktop or mobile preview icon to review your design.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FSLYDFetUprIdUdObLXBI%2Fimage.png?alt=media&amp;token=cd0c5f0a-5ff5-4cc4-8eb1-b36d938b0e3e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf-E6mzM_y1Eo1oUMDeRXNiLJkuT5oeScYUZLeUpHuEzE2oEX1cz8rmZCu89AMsnpKuscI6wbEq0Nw06nWf2u-Wkyb-6WTh3Kk24jaN11aokZskN9pYF7YQkpHrPttF-rDEj3TaoqBAyDc7LRP_R-UdNAv6?key=ezZm1wHYtRw28PmfbtRk_Q" alt=""><figcaption></figcaption></figure>

4. Click **Save**. You can update and reuse the template for future campaigns.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2Fyjmi4LuQcjIgUOvCZ5rR%2Fimage.png?alt=media&amp;token=d8623b4d-d260-4277-be1a-77ead7fc1ae5" alt=""><figcaption></figcaption></figure>

<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfnNsP__Vvr-4CGnTpknYpGzwrC7VGsppOfr5INlKknJCK7nW5BU4-5kus970o_lRBzhtXjJ2DSV8qpqSaJqR4-eG-zDvpGVNHsSR1dIWOJv2ha2kXgtQnGAcF-EXsyGrMXv7k6ipIO1DxABUknaLLbiAN9?key=ezZm1wHYtRw28PmfbtRk_Q" alt=""><figcaption></figcaption></figure>

### Email Builder interface

The Email Builder provides a streamlined workspace for creating email templates.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2F1cM7w52Ca3ngl6gWJTVk%2Fimage.png?alt=media&amp;token=53a11ffc-82b9-4f6b-bd98-4a18cef996a2" alt=""><figcaption></figcaption></figure>

#### Block tab

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2Fxdnz3iKz97QDMoubfhuD%2Fimage.png?alt=media&amp;token=5853cb81-4a87-4c25-83d7-ecf62477b2ed" alt=""><figcaption></figcaption></figure>

This tab contains the building blocks for your email design.

**Content Blocks** include text, image, button, social, spacer, hero, wrapper, and divider blocks.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FW31444zruN01KNLSvvkT%2Fimage.png?alt=media&amp;token=a7f45ca7-f48b-41f3-816b-f8a3594aa95e" alt=""><figcaption></figcaption></figure>

**Action Blocks** manage email functionality with loop and unsubscribe blocks.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FYUmjGU0xWaodScz9cslQ%2Fimage.png?alt=media&amp;token=133ae07e-d1ae-4845-8d0b-85960eaa1c68" alt=""><figcaption></figcaption></figure>

**Layout** lets you structure your email with rows and columns.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FBLNPRLlKyl73jSmJuaiQ%2Fimage.png?alt=media&amp;token=51f81e07-94e2-46d9-a82d-32adc62d1a46" alt=""><figcaption></figcaption></figure>

#### Email Builder canvas

The canvas is where you design the email. Drag blocks from the left panel to create and organize content. This live workspace shows how your email appears to recipients.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FgnQ8vEAAsfZe1IQTujKG%2Fimage.png?alt=media&amp;token=109ddd55-84f2-41c9-96fa-cf1d8c5177cb" alt=""><figcaption></figcaption></figure>

#### Customization

The Email Builder provides configuration options for every element. These settings help you create responsive emails that match your brand. Select a content block, action block, or layout section to configure it in the settings panel.

Here’s a general overview of the configuration options available for customization:

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2F7hPAMnc3lWBe75zCzWNk%2Fimage.png?alt=media&amp;token=74f32b85-8dbe-4338-a188-86baf4516d65" alt=""><figcaption></figcaption></figure>

**Color:** Customize text, background, and button colors across blocks to match your brand.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FNsfVSuigHHm4PDJEX4QC%2Fimage.png?alt=media&amp;token=100970f1-d97f-4cb7-8604-7c0d3f9e73eb" alt=""><figcaption></figcaption></figure>

**Typography:** Customize the following typography settings:

* Font family
* Size
* Weight (regular, bold, italics)
* Letter spacing
* Line height
* Text decoration (underline, strikethrough, etc.)
* Alignment (left, center, right)

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2F22IkbzCEAXAtOU7qbDT1%2Fimage.png?alt=media&amp;token=92e8f23d-57bc-4723-997e-98ca409e18e9" alt=""><figcaption></figcaption></figure>

**Extra Class**

The "Extra Class" option allows you to add custom CSS classes. This feature enables you to create your own classes to customize the email template, making it more engaging and visually appealing.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FwOr8OHAOid1kEl5hFlcU%2Fimage.png?alt=media&amp;token=60957e4e-83db-4303-81ab-c2f5d9683b01" alt=""><figcaption></figcaption></figure>

**Dimensions**

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FKGvEKlfEklQyF1AOWyZ6%2Fimage.png?alt=media&amp;token=80cd98e0-b364-4352-bd56-74f3afc6ac03" alt=""><figcaption></figcaption></figure>

Dimensions determine the size of elements such as images and buttons. Set the **width** and height in pixels (`px`) or percentages (`%`).

Margin adds space outside an element and separates it from others. You can also set the **border**, border style, and border radius. **Alignment** positions elements to the left, center, or right.

In social blocks, you can adjust icon width and padding. These settings improve the layout and reading experience.

### Blocks

The Block Tab serves as the core of your email design, offering essential elements for creating engaging and well-structured emails. It includes Content Blocks for adding text, images, and buttons, Action Blocks for managing key functionalities like loops and unsubscribes, and Layout Blocks for organizing your content with rows and columns.

#### Content blocks

1. **Text Block**

The Text Block is used for adding textual content to your email. This block allows you to include headings, paragraphs, and lists. You can customize the appearance of the text by adjusting the font, size, color, and alignment. It also supports text formatting options like bold, italics, underline, and strike through. This block is essential for delivering your message clearly and effectively.

Additional text configuration includes:

* **Text Attributes:** Switch to HTML mode to edit the text with raw HTML.
* **Attribute Mapping:** Insert dynamic attributes, such as a recipient’s name, location, or organization. Use the format `{{attribute_name}}`.

**Personalization**

Add `{{attribute_name}}` to personalize email content.

For example:

`Dear {{name}}, your billing amount due is {{amount_due}}. Here is your payment link: {{payment_link}}.`

After saving the template, map each placeholder to the relevant attribute. The system replaces each placeholder with its mapped value.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FJopSan1qo606bsyyuCtc%2Fimage.png?alt=media&amp;token=d1f4b62a-65d1-4748-8524-f535519de85e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeCTPXbUjvZ-EvBtVN51Tiny_fM_KMkalPjdeIxhGKzfstafJzJeU3ZEnu3eHqd1lHG4FmoBl2dKNsRBMP5JtcWWai4jUIskhO3lCeVQcPjGpq_V3aY42iz6Qzt1lxvsB6GlBHOxaASL8sJzicrenw8RmmL?key=ezZm1wHYtRw28PmfbtRk_Q" alt=""><figcaption></figcaption></figure>

2. **Image Block**

The Image Block inserts images into your email template. Upload an image from your device or choose one from [Picky Assist’s Media Gallery](https://help.pickyassist.com/setting-up-guide/media-gallery). Set image dimensions, add alt text, and link the image to a URL.

(See the below picture)

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2F3nutpGlaZJSxPfK2ZDvG%2Fimage.png?alt=media&amp;token=59acb278-6440-47e3-9e95-a9efffd141ed" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcC7Eo85dw61f1DY4tIqdPawLKVQoxqSZT_F_5x2PMtJTLrjhhRtLFSf0OWcR4zhBEhvFd-kRco00aQwdsS00RI1GFIuvGacxQV3rCsintW1EAmlL14NyZ3-Y74w5aVHGYkzhszZ8c-q9zAvpTj8HBWMWdl?key=ezZm1wHYtRw28PmfbtRk_Q" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FsUOE5h1IzWxUjVw05lfM%2Fimage.png?alt=media&amp;token=10a4e29a-a513-4b58-99d4-f771c1e86a44" alt=""><figcaption></figcaption></figure>

3. **Button**

Button Blocks encourage actions, such as making a purchase or signing up for a newsletter. Customize the button text, color, size, and shape. Set a dynamic `href` link to send recipients to a specific URL.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FIlV7v7tHfWuIvpRRl31c%2Fimage.png?alt=media&amp;token=74866912-0168-4e97-b273-7f2eeecaa0e2" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdC2HZwHAGbST1MWwDZVYsg6FGO438MB-bk4-WbedRkyP_KBVV2UOgFEFgXY6IH5yizm3KFO2RT70usZiRG6shmZUYLlIStY8c7oEm6MrQYsDa8WXyYdK70eo4TzPoOCaQFEBHBbrMgAFQPlAVewRCCrOQ?key=ezZm1wHYtRw28PmfbtRk_Q" alt=""><figcaption></figcaption></figure>

4. **Social Block**

Use the Social Block to add social media icons that link to your profiles. Customize their appearance to match your email design. Set an `href` link for each icon.

The additional social block configuration options are:

**Mode**:

* **Vertical and Horizontal Mode:** Choose whether icons stack vertically or appear horizontally.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdMjt4HT5o7KZ6a_5Uo3G_GKOuJlUTwHhF4Qo2wTjKKXMnYW8HGwGhIMHTpq3emV9tJxkcIi5rTaw5ER0oh6kMR-ebJ57r2BpXdXSqr9ClNGnriNHmPi8oSitDCn-Z5z9bbBbcHFy4HrckkDgMP5poOhhYR?key=ezZm1wHYtRw28PmfbtRk_Q" alt=""><figcaption></figcaption></figure>

**Social Items:**

* **Icon Content:** Each social item has a default icon. Edit its content or upload a custom icon.
* **Href:** Add the URL for each social media platform.
* **Add or duplicate items:** Click **+** next to an item.
* **Content:** Enter the social item name, such as Facebook or YouTube.

(See the below picture)

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FsPw1ZbPoMXHS3B0ufCXj%2Fimage.png?alt=media&amp;token=cd2041b1-af26-4333-860f-93afe8868f73" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXc0Gubw5fYR3Ft76YYpnV5yUGIZ5b_BndEOJUhBb6NyFokft4RAxqbPNZkKDiKHwDG_KwCgCZ-ajuJaXf9zMvV1LThFdthR83nqO8fnmzs1aPo3TwLb1lz1WHsLIY730OlDJIKCY_JbDCfjKCGg-mW-CbA?key=ezZm1wHYtRw28PmfbtRk_Q" alt=""><figcaption></figcaption></figure>

5. **Divider**

The Divider Block adds lines that visually separate email sections. Adjust its thickness, color, and style to improve structure and readability.

(See the below picture)

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2F12Dmyhn4c74OWhT9vbFW%2Fimage.png?alt=media&amp;token=8fd8c69c-b13e-4d86-9c2b-d9b602ce4b3b" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe3jsWwngcqq1hnLkAC5SMaQCcsFY4j6-mefO33LagAfBCBVHp1GhXwXgjh3UWsWhdADllTkVj7ukV2-H-pRjsI6P3c8xZe6KWFE8JdYFieseUngGAo4iqIJFtAEgQuVgtLob1CrutV_JDv8kIh31964iqD?key=ezZm1wHYtRw28PmfbtRk_Q" alt=""><figcaption></figcaption></figure>

6. **Spacer**

The Spacer Block adds empty space between content blocks. Adjust its height to improve the layout and readability of your email.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FhqvklQDE722IZ47b2RhC%2Fimage.png?alt=media&amp;token=a4bf8e59-48d7-4918-8c64-fd0d7a3b0b65" alt=""><figcaption></figcaption></figure>

7. **Hero Block**

The Hero Block creates prominent sections with large images, backgrounds, and overlay content. Use it for product launches, promotions, or important messages.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FpkMQsFQLtIoX1npNsyzI%2Fimage.png?alt=media&amp;token=5dece360-5806-4baf-b57b-61d49e13fa37" alt=""><figcaption></figcaption></figure>

**Mode**:

* Fluid Height: The block height adjusts based on the content.
* Fixed Height: Set a specific height for the block.

**Background Src**: Set the background image for the hero block.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FlLjQPuH1IXWb8Bget4Sa%2Fimage.png?alt=media&amp;token=7083a4be-80e7-4958-a897-cc17c43c3ec3" alt=""><figcaption></figcaption></figure>

In the Hero Block, you can add other content blocks such as:

* Text: Add headers, paragraphs, or any text.
* Image: Insert images to enhance the hero section.
* Button: Include clickable buttons for calls to action.
* Social: Add social media icons.
* Spacer: Insert space between elements.
* Divider: Add dividers to separate content within the hero block.

8. **Wrapper Block Configuration**

The Wrapper Block groups content, action, and layout blocks, except Hero Blocks. It keeps related items together and gives you more control over your email layout.

Additional attributes include:

**Background Repeat:** Control whether the background image repeats. Options include `no-repeat`, `repeat`, `repeat-x`, and `repeat-y`.

**Background Size**: Define the size of the background image (e.g., auto, cover, contain).

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FCNvreMhueakF9HKdl7GX%2Fimage.png?alt=media&amp;token=edadf18e-77da-41c4-ad99-8367e0faa815" alt=""><figcaption></figcaption></figure>

#### Action blocks

Action Blocks add interactive and compliance-related behavior to your emails.

1. **Unsubscribe Configuration**

The Unsubscribe Block is designed to give recipients the option to opt out of future emails. This feature is important for maintaining regulatory standards and helps build trust with your audience. When included in your email template, it allows users to easily unsubscribe if they choose to do so, promoting a positive user experience.

You can modify elements like text color, size, and layout to match your brand’s style by customizing the configuration of the block.

If your template includes an Unsubscribe Block, select the appropriate opt-out list in the **Unsubscribe** field of the Send Email step.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2Fm7v4zT1MikBfthSs6EWN%2Fimage.png?alt=media&amp;token=1df39481-b4ee-4ec5-98be-ab518e77e9db" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeUx6VCsH4JCPUPwHIcxcaPna5HS2xwWZJu45kr3aOsjRxzWGMPAHaO_swYkKx7wNfupd5ihJ_wakxnqWFG-jeUjq3h4---OPDe6N-sNndqCN3U3vfTXexW3Pv0b7KhhELY07utBYX-oej0dkmPbyDgNNrP?key=ezZm1wHYtRw28PmfbtRk_Q" alt=""><figcaption></figcaption></figure>

2. **Loop Block**

The Loop Block repeats a section from a data source. Add content blocks, such as text and images, to display product details, user performance, or line items.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FtWwmoY3DNzo37MDZnldv%2Fimage.png?alt=media&amp;token=47c86163-c65f-4d87-b46f-8cfe610ae1f6" alt=""><figcaption></figcaption></figure>

Here’s how you can configure it, along with an example:

**Loop Settings:**

* Loop Limit: Define the maximum number of iterations or repetitions for the loop. For example, you might set this to 5 if you want to display up to 5 product recommendations.
* Loop Variable: Specify the variable that will control the loop (e.g., a list of items or user-specific data). For instance, you could use a variable called productRecommendations.
* Width of Loop: Set the width of the loop content area to fit your email layout.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdhVlv50zW3EYvLR3bR-sANBq5rrABqxVnfPJnx0kZFix8Wf2_uDDjgEws6TnBe6AJciCU42McgJt02PyhiDZXzYfghmQYHr593YokGBSxh4QszDxW5PjWNRS98dWF9_PxI82T_K_rn-c9S4VXVISyl4qQ?key=ezZm1wHYtRw28PmfbtRk_Q" alt=""><figcaption></figcaption></figure>

**Sample Loop Array:**

* **Select Application:** Choose **Connector** or **Flows**.
* **Select Flow:** Choose the specific flow or connector you want to use for the loop. For example, select a flow named "Product Recommendations Flow."
* **Select Loop Array:** Choose the array or dataset from the selected connector or flow. For example, select `recommendedProducts`, which contains product details.

Customization options for this block allow you to modify aspects such as layout, background color, and spacing, creating an organized and visually attractive display. By tailoring the design of each repeated section, you can enhance clarity and engagement, making it easier for recipients to understand the information presented.

\
**Dynamic Attribute Mapping**

To add dynamic content, map attributes after selecting the application, flow, and loop array. Click inside the Loop Block to display the **`</>`** attribute-mapping icon.

Click the icon to display the data source’s available fields. Map attributes to text, image, and button fields to repeat content from the selected data.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FokQ0zj1z9yHr33d9SEYA%2Fimage.png?alt=media&amp;token=43f70dc7-f7f5-4916-9aa4-a2ca8ca56a62" alt=""><figcaption></figcaption></figure>

You can add multiple Loop Blocks to one template. Each block can use a different data source. For example, one block can show product recommendations while another displays special offers.

Use a Loop Block for invoice or order line items. For each item, map fields such as product name, quantity, and price.

#### Layout

The Layout section organizes content into columns.

**Layout Options:**

* **2-Column Layout**: Divide your email into two vertical sections.
* **3-Column Layout**: Divide your email into three vertical sections.
* **4-Column Layout**: Divide your email into four vertical sections.

To customize columns, click the arrow next to the selected layout option.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FxLpW7W150L0KOG2CC76n%2Fimage.png?alt=media&amp;token=f384f002-730d-4e72-ae5e-00378b8eca8d" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXefCmIWyrDjVZ2-juSHAbX2ujtfAIGjmhFU6cdU40QujaqjBtvf_pTxdD6Wz0kh6G-1k-TNZfucFmAp9uiJiqBoreuHyHn6HJX8l3EFs4_xPApYd2ObdVXZiY8ur5GYPhNRldfM6fQVUn8e3EfXzE_m1t-k?key=ezZm1wHYtRw28PmfbtRk_Q" alt=""><figcaption></figcaption></figure>

Additional layout configuration options include:

* **Group:** Set this option to `true` or `false` to control how columns appear on mobile devices.

When set to `true`, columns retain the selected layout.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FF4mTurYA62wlvcAw3emD%2Fimage.png?alt=media&amp;token=e7157366-0810-451a-87f1-cd794a10d94e" alt=""><figcaption></figcaption></figure>

When set to `false`, columns stack vertically on smaller screens.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FKvFpxO4gfAEVedPS0bex%2Fimage.png?alt=media&amp;token=84162a9c-3b0e-47e6-a131-c59ce4d80124" alt=""><figcaption></figcaption></figure>

* **Background Repeat:** Control whether the background image repeats. Options include `no-repeat`, `repeat`, `repeat-x`, and `repeat-y`.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2F2yHmslu7GSTXXgLsoo7L%2Fimage.png?alt=media&amp;token=cb490fa4-6e68-4354-bb3c-f0e12d7dd0c3" alt=""><figcaption></figcaption></figure>

Each column can be customized individually to ensure consistency with your overall design. You can set background colors or images, control padding to create space around your content, and adjust borders to enhance the visual separation between sections.

Within each column, add content blocks such as text, buttons, images, social icons, dividers, and spacers.

#### Layer

The **Layer** tab lists every block and layout in your email template. Use it to review, organize, and adjust the layout.

* **List view:** The tab displays content blocks, layout sections, and sub-blocks in a list. Select an item to jump to it on the canvas.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfbcohJ0JZtnNwnAVyV6bMzk4cTpf87tL4u3LEKpb-j-s3kNJ_gPn_XaKkd9o0-VyyucasLa788rCi44_GC-pLZuqfqImuZ2obnYqHOZbHVIC7QoplFXKnxOVJ3GEwWI-joS4feEUrnEHT7GhROlJeKDOL_?key=ezZm1wHYtRw28PmfbtRk_Q" alt=""><figcaption></figcaption></figure>

* **Rearranging Blocks:** Adjust the placement of blocks in the email design by dragging them within the Layer Tab. This helps in organizing the content and ensuring a well-structured email layout.

Right-clicking on a block in the layer provides the following actions:

* **Move Up:** Moves the block one position higher in the layout.
* **Move Down:** Moves the block one position lower in the layout.
* **Copy:** Creates a duplicate of the selected block.
* **Delete:** Removes the selected block from the email layout.

(See the below picture)

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FFO3c2GPzfGq5LxMlJ3jK%2Fimage.png?alt=media&amp;token=56d24cf6-4fa8-48e6-8c6b-146f9dbdcfa6" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfJ03sGrnudz8za6i2ggdhFkvgel_ZZMDkoLOPy_dN-A0lq86zW5o5x979gxO-cGgLLAM3EfFlFXfqVo2whSyi52IrTA9oChKllaXi-nJns2YMuRX_HmKKDuHcJcO2kINVDr7Q_nsOwRYiVvkKB5LE0Hdsa?key=ezZm1wHYtRw28PmfbtRk_Q" alt=""><figcaption></figcaption></figure>

### Use saved email templates

Use saved templates in connectors, workflows, funnels, chatbots, and Mini Apps. In a **Send Email** step, select the template and map dynamic values such as recipient names or product data.

You can also use a saved template as a Mini App response.

#### Send templates through an automation flow

Send a template through a chatbot, funnel, workflow, or connector:

1. Open the relevant connector, workflow, funnel, or chatbot.
2. Add or select the **Send Email** action.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FJB6eVCTapfvTNriTRm8f%2Fimage.png?alt=media&amp;token=a86eb032-f98e-4819-a0da-e7871d50a31c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfPNI3sme8Ly_xqy38O2wSfbqB91ElB6g5ofltKODbpQBlyUOctYYdaep625XKlxoQQF7L4Coig9ppLC0sUqMO1Fi9CXMsXltUBAalPoJVXSvD-EfJpG-BrNszS6sC5WqotVpq9smmSmXSHvwC0dmp0HpZ5?key=ezZm1wHYtRw28PmfbtRk_Q" alt=""><figcaption></figcaption></figure>

Configure the email details:

* **Choose an email service:** Select the connected email channel. You can also select **Map Channel Dynamically** and map the required attributes.

  <figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2Fk5naqo9F1VO2DII9g8AV%2Fimage.png?alt=media&amp;token=5b32b2f3-9264-4e0c-9f65-7fcf9f22fa6e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfC74Pgw403gOoF3bu02cavaIOTVkHu5_8rNgY6mJ51fXN9rBc8x4rHBz16M6cG7zqp9LGOa6hDp7e3pqY8mhLq3it5K2cJi6JTZH00jzzjY-9uucookb7p2sjGRhhv_pBpvjOar15eeWw3KXUPgocyz4Vu?key=ezZm1wHYtRw28PmfbtRk_Q" alt=""><figcaption></figcaption></figure>

* **Set email details:** Enter the **From Address**, **Sender Name**, and **Reply-To Address**. Add CC and BCC when needed.
* **Add a subject and preheader:** Enter the subject line and preheader text.
* **Set the body type:** Select **HTML Template**. You can also map the channel dynamically.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FNRc98rUE2djI4qjqveQY%2Fimage.png?alt=media&amp;token=fd4718e8-3386-423a-af36-1782227ac420" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcx18KxjoVqC5Y6-vLowG6X92Asn6Sju3XKNWvL6yX4Z-ve-7fugvVLuI0So5j2B-A14O-E3ryOh0EzJ7eX5qAUBSWGU3cfG_O06W9giIcw3_M9ANis9N3dGnsdefPmETKA4lFWiv_BoHrFy85fYJxVv88?key=ezZm1wHYtRw28PmfbtRk_Q" alt=""><figcaption></figcaption></figure>

* **Select or create a template:**
  * **Choose a template:** Select a template from the **Select Template** list.
  * **Create a template:** Select **Create Template** to open Email Builder.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FpcBFOblDvmcFcqIDHlGM%2Fimage.png?alt=media&amp;token=4f5f6230-2835-470e-9cad-a2f892dfb7e2" alt=""><figcaption></figcaption></figure>

* **Map attributes:**

  Map the attributes required by dynamic content, such as recipient names or product details.

3. If the template includes an unsubscribe block, select it from **Select Opt-Out**.
4. Save the connector, workflow, funnel, or chatbot.

### Attach email templates to Mini App responses

Add saved email templates to Mini App responses for dynamic, personalized content.

1. Open the Mini App builder.
2. Configure the form fields as needed.
3. Open the **Response** tab and select **HTML** in **Response Settings**.
4. Select a saved template from the list. Select **Create Template** to open Email Builder.

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2FkLIyioP4jHdeswO7s9fr%2Fimage.png?alt=media&amp;token=c22cf6cf-dd2f-4c09-865b-1176aaa04b40" alt=""><figcaption></figcaption></figure>

5. Map the attributes for looping or repeating elements, when applicable.
6. If the template includes an unsubscribe block, select it from **Select Opt-Out**.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcQvkrnrFmZv_N-xDE1Bonw06L6skl05-BdpT-rMlzy-CTjFoJzpKjIFbVktiPlY5w6KVcD1Cy7AFPol-7HEZT3Gkcv6emBRyXThDH7OE59tY8ja4L0kksKRjut0He4ouYuvZKptDzHLlGI82yk-0oWf4Ph?key=ezZm1wHYtRw28PmfbtRk_Q" alt=""><figcaption></figcaption></figure>

Save the response. Users interacting with the Mini App will see the selected template as part of their interaction.

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.pickyassist.com/setting-up-guide/email-builder.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
