# Directory for email html files

**URL:** https://forum.mautic.org/t/directory-for-email-html-files/22693
**Category:** Product Support
**Created:** [February 13, 2022, 9:21pm UTC](https://forum.mautic.org/t/directory-for-email-html-files/22693 "2022-02-13T21:21:39Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![bajola](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bajola/32/2790_2.png) [@bajola](https://forum.mautic.org/u/bajola)
#### Post date: [February 13, 2022, 9:21pm UTC](https://forum.mautic.org/t/directory-for-email-html-files/22693/1 "2022-02-13T21:21:39Z")

</div>

**Your software**  
My Mautic version is: 2.13.1  
My PHP version is: 7.1.33  
My Database type and version is: Debian 4.9.272-2

**Your problem**

I wanna backup all my emails by copying them from server directory via ftp access. But I cant find the directory where the emails html files are stored. URL contains preview directory but no such physical directory is on the server. Can you give me a hint? Thank you

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [February 14, 2022, 6:41am UTC](https://forum.mautic.org/t/directory-for-email-html-files/22693/2 "2022-02-14T06:41:58Z")

</div>

Hello,  
Not sure what do you mean by Email, so here is a complete answer:

1. Your email templates (themes) are stored under /themes in your main Mautic folder.
2. The HTML version of your emails are stored in the database in the **emails** table **custom\_html** column.
3. If you use MJML, then the MJML version of your emails are stored in the **bundle\_grapesjsbuider** table **custom\_mjml** column.

Rgards:  
Joey

---

<div class="post-metadata">

### Author: ![bajola](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bajola/32/2790_2.png) [@bajola](https://forum.mautic.org/u/bajola)
#### Post date: [February 14, 2022, 7:11am UTC](https://forum.mautic.org/t/directory-for-email-html-files/22693/3 "2022-02-14T07:11:20Z")

</div>

Hi,

thank you. I am attaching pictures illustrating what I mean. So do I understand correctly that these preview emails don´t exist as separate files and they are only in the database?

Thank you

Olga

 ![Výstřižek](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/b/bc0823f95275670d010c1bd60947f751456dd32b.jpeg)  
 ![2](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/d/dc435fc647678554e17b32e35809ca9c04003734.jpeg)

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [February 14, 2022, 8:11am UTC](https://forum.mautic.org/t/directory-for-email-html-files/22693/4 "2022-02-14T08:11:13Z")

</div>

Correct, these emails are stored in the DB in the emails table, custom\_html column.

Joey
