How to export HTML emails from Figma to Mailercloud using Emailify
Follow along with this step by step Figma tutorial video.
Steps
- Open Figma, search for Emailify in Resources, save or run the plugin, and add a new Emailify container to the canvas.
- In the Footer tab, scroll to Mailercloud and add the Mailercloud footer component with the prepopulated unsubscribe and view in browser links.
- Preview the email in Emailify and switch between mobile and desktop to check the layout.
- Click Export HTML, choose the HTML email option, then select Mailercloud under platform integrations.
- Enter the subject line and preheader text, then export for Mailercloud and download the zip file.
- Unzip the export, open the nested index.html file, and confirm the HTML preview looks correct.
- In Mailercloud, create a new campaign, select the HTML editor option, drag and drop the index.html file into the editor, then continue and save the template.

Published
Used in this video
Emailify
ăĄăŒă«
Stop hand-coding HTML emails.
Design responsive emails in Figma and export production-ready HTML for popular email platforms.
135k+ installs
Video Transcript
Today Iâm going to be showing you a quick tutorial on how to export your HTML email designs from Figma to the Mailercloud platform using the Emailify Figma plugin.
To get started, all we need to do is go to our Figma file, click on the âResourcesâ icon at the top, and search for âEmailifyâ. Under the âPluginsâ tab, click on the Emailify result. You can run that Figma plugin by either clicking on the run button here, or Iâd recommend clicking on this little âSaveâ icon. This will let us run the Figma plugin from our saved Figma plugins list.
Iâve already clicked on that save icon, so Iâm just going to go to my canvas, right-click anywhere, go down to âPlugins,â then go down to âSaved plugins,â and click on Emailify. Thatâs just going to run the Figma plugin we saved a second ago. If youâre new to the Figma plugin, it helps you design HTML emails in Figma, which you can then export to production-ready code automatically with one click.
Today Iâm just going to be creating a really simple example. Iâm going to call this an example template and click on the add new Emailify container button. This will add a special Emailify frame to your page that we can then start inserting components into. Iâm not going to be going through all of the design features today in this tutorial. If youâre interested in learning more about that, you can check out some of the other video tutorials on the YouTube channel or go to the documentation site, where thereâs heaps more information. Today Iâm just going to be keeping this really simple and creating a template using some of the predefined components without customizing them. If you were adding your own, you would customize the content and design in Figma, but for today Iâm keeping it simple.
Once youâve got your main template and components set up, go over to the footer tab in the Figma plugin and scroll down to the letter M. Find the Mailercloud option and click on it. This will automatically add the footer component with prepopulated âunsubscribeâ and âview in browserâ links. We can inspect those by clicking on the link layer, then going to the settings button in the Figma plugin. You can see itâs automatically pre-populating the URL to be the âunsubscribeâ link for Mailercloud along with the âview in browserâ link. These dynamic links will get swapped out automatically when you send this email via the Mailercloud platform.
Once youâre happy with that, you can preview the email by clicking on the preview button in the Figma plugin. This loads up a real HTML preview of what the design will look like when exported to code. You can swap between mobile and desktop to see how it looks. Thatâs looking pretty good. Again, Iâm not going to go through all of the features today, but if you want to, you can add optional mobile overrides. For example, you could click on a component, click on the settings button, and specify padding, or if youâre in a text layer, you can change the font size or line height for your mobile designs. But today Iâm leaving this all as default and am happy with the preview.
Once youâve finished previewing your email, close out of that, and now click on the export HTML button. Click on export HTML, change this HTML email option, click on that, go down to platform integrations, and scroll down to the letter M. Click on the Mailercloud option, and you can see Mailercloud is now selected. Add your subject line and the preheader text. The preheader shows up next to your subject line when viewing it in Outlook or Gmail. This will automatically get added to your HTML template. We need to read the subject line in Mailercloud in a moment, but also add it into the Emailify Figma plugin as it automatically populates the title tag, visible when someone uses the âview in browserâ link. Add that here and into the Mailercloud platform.
Once weâve finished with our subject line and preheader text, click on the export for Mailercloud button. This will automatically export all the HTML and images for us and give us the code to download. Click on this download your zip file button, save that anywhere to your computer, and unzip the file. Youâll get a new folder, which will look something like this. Inside it, weâve got our HTML, a previews page to preview the content, and you can drag and drop that into the browser to see how it looks on desktop and mobile easily. The code weâre going to use is inside this nested folder. The example template is named the same as our Figma frame, matching whatever youâve called your frame in Figma. When we open that file in our browser, it will open up the HTML design weâll use in the Mailercloud platform.
Down here, itâs telling us we can now create a new campaign in Mailercloud and then copy and paste that HTML into the code input. Log into Mailercloud manually or click on this create a new campaign link, opening the correct page automatically. Weâre now in the Mailercloud.com site. Iâm already logged in, and itâs taken us to the create campaign page automatically. Call this test campaign, and take the subject from the other input. Call this one test subject, which we used in the Emailify Figma plugin. Select your sender ID. Assuming youâve already set the sender ID up in Mailercloud before, you wonât be able to create a campaign until youâve created a sender, so make sure thatâs set up first.
Click on the choose email template button on the right-hand side, and select the HTML editor option. Avoid the other ones and jump right to this one where we can copy and paste our HTML code. Click on the HTML editor option, and youâll get this HTML code input here. The easiest way to get our HTML in there is to go to the folder we were just looking at, take the index.html file, and drag and drop that over here. This will automatically drop all of that HTML code into our Mailercloud editor. All the code that we exported is in here now. Click on continue, and you can see itâs loaded up our HTML as expected. This looks the same as it did in Figma, which is great. You can see it on mobile and desktop, preview that in here as well if you want, but once thatâs set up, click on Save and continue, and that will save your template.
Iâm not going through the whole campaign sending method, but you can send this to whatever lists you like. I wanted to take you through the initial step of uploading your HTML template. Now you can send out any custom HTML template designed in Figma with Emailify and quickly drop that into your Mailercloud platform. Youâll be able to send that out as a custom designed HTML email to any lists in the Mailercloud platform.
Thatâs basically it. I hope thatâs helpful if you use the Mailercloud platform and have been wondering how to make it easier to design totally custom HTML designs. This is a great way to streamline your workflow from Figma directly into the Mailercloud platform. Thank you as always for watching, and weâll be back with more Figma tutorials like this one very soon.

Adam Brock
Founder & CEO of Hypermatic


