# Email Marketing: Creating a Campaign with Your Own HTML

Source: https://support.wix.com/en/article/email-marketing-creating-a-campaign-with-your-own-html (updated 2026-11-19)
Related: Wix developer documentation, https://dev.wix.com/docs/llms.txt; Help Center index, https://support.wix.com/en/llms.txt

> **Note:** Actions that involve creating and editing HTML emails with the AI chat use [AI credits](https://support.wix.com/en/article/about-ai-credits).

Use your own HTML to build an email campaign, instead of starting from a template or designing one in the [email marketing campaign editor](https://support.wix.com/en/article/email-marketing-creating-and-sending-a-campaign-from-start-to-finish). Paste in code you already have or upload an HTML file, then send it to your contacts like any other campaign.

![Screenshot of the email marketing HTML builder](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/b58ebe65-92dd-4fa2-84b0-71c6024cb3f8/2026/11/10/b77555fd-5be8-400f-93ba-69feda5981ce/hmtl_builder.png)

### To create a campaign with your own HTML:

1. [Go to Email Marketing](https://www.wix.com/my-account/site-selector/?buttonText=Email%20Marketing%20Dashboard&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https://www.wix.com/dashboard/%7B%7BmetaSiteId%7D%7D/shoutout/) in your site's dashboard.
2. Click **Create Email** at the top right.
3. Click **Start with HTML**.
4. Choose how you want to create your campaign:

**HTML**

1. Click the **HTML** tab.
2. Paste your own HTML into the panel and/or click the **Upload HTML** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/b58ebe65-92dd-4fa2-84b0-71c6024cb3f8/2026/09/28/d40f60cf-2762-4c03-9f7a-c347d6ed3224/Screenshot_2026-09-28_at_10.57.46.png) to add your own code.
3. (Optional) Add content to your code using the icons at the top of the **HTML** panel:  
   * **Images:** Click the **Image** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/beb042e2-afda-42a0-a1dd-d634fd7c455b/2026/10/06/04353193-37eb-40cc-9a0b-fdea76518459/image.png) to add an image from your site files.  
   * **Personalized content:** Click the **Personalized content** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/beb042e2-afda-42a0-a1dd-d634fd7c455b/2026/10/06/c3c74a84-962b-4c53-8b1c-8f94406a10e3/image.png) to add a value that changes for each recipient, such as **Contact First Name**. Enter fallback text to show when the value is missing.
4. Continue setting up your campaign by [adding recipients](https://support.wix.com/en/article/email-marketing-adding-recipients-to-your-campaign) and [sending it out](https://support.wix.com/en/article/email-marketing-sending-your-email-campaign).

**AI Chat**

1. Click the **AI Chat** tab.
2. Click **Use AI Chat**.
3. Describe the changes you want to make in your campaign.
4. Continue setting up your campaign by [adding recipients](https://support.wix.com/en/article/email-marketing-adding-recipients-to-your-campaign) and [sending it out](https://support.wix.com/en/article/email-marketing-sending-your-email-campaign).

**Tip:** You can choose between Gemini, Claude and GPT models. They all use a similar amount of AI credits.

> **Tip:** To reuse your code in future campaigns, click the **Save as template** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/b58ebe65-92dd-4fa2-84b0-71c6024cb3f8/2026/09/28/e5fbdcd6-5515-4c33-a8f8-5a057ba8ac0b/save_template.png) at the top right.
