Prototypr

Prototyping, UX Design, Front-end Development and Beyond šŸ‘¾ | āœļø Write for us https://bit.ly/apply-prototypr

Follow publication

Design Components for Emails šŸ“©

Graeme
Prototypr
Published in
4 min readSep 9, 2018

--

These days, both designers and developers are thinking in ā€˜componentsā€™. Whether itā€™s a design system created in Figma, or an app made in React, our approach is to create elements that can be reused in powerful ways.

When it comes to email design, why should it be more difficult? Having made over 80 newsletters over the last year or 2, Iā€™ve found it extremely time consuming wrestling with HTML email templates. There are lots of these freely available, but theyā€™re not very reusable.

Therefore, I decided to try and ā€˜break outā€™ any static HTML email template into a set of reusable components. Iā€™m actually just solving my own problem with this project, but itā€™s come a long way:

As you can see in the video above, there are drag and drop HTML components being used to build an email. At the end, a custom HTML email is created. How does this work though? This is my approached to building it:

Modularising HTML

Starting with any HTML template, think about which parts of the email will repeat, and be reused often:

For me, those are:

  • Article blocks
  • Call to action blocks
  • Header section
  • Footer section

So to break an email apart, it would be nice if these sections were editable and reusable (especially the article blocks). To start with a full HTML email template may look like this:

In Email Otter, my approach is to separate relevant segments of HTML into smaller HTML files. This doesnā€™t take much technical expertise ā€” hereā€™s an example of where I separate the ā€˜Latest articlesā€™ section from the main HTML file, and paste it into a separate file:

If this is repeated with each section, youā€™ll eventually have a small collection of HTML files ā€” each containing a ā€˜componentā€™ of your email design:

For instance, the ā€˜Try it nowā€™ HTML would sit in one file like this:

Whilst this process is not technically advanced, itā€™s still a painful experience and something Iā€™ll make much more user friendly. Ideally, you wonā€™t need to touch the HTML ā€” at the click a button, your large template will be separated into blocks.

Reusing the components

After separating out the large HTML template, the smaller blocks of HTML can be reused and edited in Email Otter. Furthermore, to take the pain out of newsletter making (I have made too many), Email Otter eliminates tedious tasks that cause us newsletter makers to suffer:

  • Resize, compress and host your images in one click! This means you wonā€™t take up space in someoneā€™s inbox, and Gmail is less likely to clip your newsletter.
  • Pull in entire titles, images and descriptions for each link. No more tedious copy-pasting, no more human errors.

See these powerful, time saving features here:

Iā€™m still working on this, but you can follow my progress here on Product Hunt Ship :

If youā€™re interested in the building progress, hereā€™s some related posts:

Finally, if youā€™re building something yourself, let me know about your journey!

--

--

No responses yet

Write a response