
Synerise users can create email templates on their own and import it to Synerise. They can import templates either in the form of `.zip` files or URL.  

While importing templates from `.zip` files and URLs, the system automatically uploads images from files to **Data Modeling Hub > Files** and replaces image references in the template with URLs to the images uploaded to Synerise, as shown in the **After import** tab in the example below.

For example:


<div class="content-tabs" data-tab-group="tabgrp-1304">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-1304-0" data-tab-group="tabgrp-1304" data-tab-active="true">Before import</button><button class="tab-button" data-tab-id="tabgrp-1304-1" data-tab-group="tabgrp-1304">After import</button></div>

<div class="tab-panel" data-tab-id="tabgrp-1304-0" data-tab-group="tabgrp-1304" data-tab-active="true">

<pre><code class="language-html">&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;body&gt;

&lt;h1&gt;My First Heading&lt;/h1&gt;
&lt;p&gt;My first paragraph.&lt;/p&gt;
&lt;img src="cat.png" alt="cat" width="104" height="142"&gt;


&lt;/body&gt;
&lt;/html&gt;</code></pre>

</div>

<div class="tab-panel" data-tab-id="tabgrp-1304-1" data-tab-group="tabgrp-1304">

<pre><code class="language-html">&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;body&gt;

&lt;h1&gt;My First Heading&lt;/h1&gt;
&lt;p&gt;My first paragraph.&lt;/p&gt;
&lt;img src="https://upload.snrcdn.net/c87e604e446098039e47861c04f082d268c1e5d3/default/origin/e651866eb4294d0dbed96f1cd29bc633.png" alt="cat" width="104" height="142"&gt; " alt="cat" width="104" height="142"&gt;


&lt;/body&gt;
&lt;/html&gt;</code></pre>

</div>
</div>


## Requirements
---
- A `.zip` file must contain `.html` file, images, `.css` file(s), which cannot be nested in catalogs.
- The size of the `.zip` file cannot exceed 10MB.


  <div class="admonition admonition-tip"><div class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z" /></svg></div><div class="admonition-body"><div class="admonition-content">

  To make sure that your `.zip` has flat structure, select a HTML file and images, and create a `.zip` from them, not from the catalog with those files.

  </div></div></div>


## Importing an email template
---

<figure>
<img src="/api/docs/image/54176ad07f146575310749eba44b7c2f42c1b327/docs/campaign/_gfx/template-options.png" alt="Template options" class="full">
<figcaption> Available options for email templates </figcaption>
</figure>

1. Go to <img src="/api/docs/image/54176ad07f146575310749eba44b7c2f42c1b327/icons/experience-hub-icon.svg" alt="Experience Hub icon" class="icon" > **Experience Hub > Email**.
2. On the left pane, click **Templates**.  
3. In the upper right corner, click **New template**.  
    **Result**: A pop-up appears.
4. To import a template from ZIP or a URL, select **Upload from URL or ZIP**.
5. To import a template:
    - from ZIP:
        1. Select the **ZIP** tab.  
        2. Upload a `.zip` file.
        3. Click **Apply**.
    - from URL:
        1. Select the **URL** tab.  
        2. Enter a URL address.
        3. Click **Apply**.
6. If needed, make necessary modifications.  
    
   <div class="admonition admonition-note"><div class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /></svg></div><div class="admonition-body"><div class="admonition-content">

   Learn how to use the [email code editor](/docs/campaign/e-mail/creating-email-templates/email-code-editor).

   </div></div></div>

7. If you implemented the [Service approval](/docs/settings/configuration/service-approval) feature, a template will require an approval. For the instructions what to do next in such case, read the [Service approval documentation][/docs/settings/configuration/service-approval/]. If in your workspace Service approval is not implemented, in the upper right corner, click **Use in communication**.