SlideShare a Scribd company logo
1 of 52
Download to read offline
responsive
emails
geoffroy baylaender
@gBaylaender
Web developer at Kerr
responsive emails
are supported by:
● iOS Mail app
● Android 4.x Email (OEM) app
● Windows Phone 7.5
● BlackBerry OS7
● BlackBerry Z10
● iPhone Gmail app
● Android Gmail app
● Windows Phone 8 (partial supported)
● Windows Phone 10 (partial supported)
are not supported by:
● iPhone Mailbox app
● iPhone Yahoo! Mail app
● Android Yahoo! Mail app
● BlackBerry OS5
● Windows Mobile 6.1
● Windows Phone 7
●
few numbers
Source: Litmus
150 t/day
studies find people look at their phones an avg of 150 times/day
47%
of email opens happen on mobile devices*
6x
transactional emails can produce
over 6 times the revenue than generic marketing emails.
Movable Ink “US Consumer Device Preference Report: Q3 2014″ (2014)
When do people check their email on mobile?
Movable Ink “US Consumer Device Preference Report: Q3 2014″ (2014)
45%
of consumers have unsubscribed from a brand’s promotional email
because the brand’s emails or website dind’t display or work well on their smartphone
34%
of consumers have marked a brand’s promotional emails as spam
because they didn’t display or work well on their smartphone
79%
of people delete or unsubrscibe an email if it doesn’t look good on their mobile device
#ResponsiveEmailDesign
“Using fluid tables, fluid
images, and media queries
to control the layout of an
email across different
device sizes.”
who can help us in our job
some tools (web app)
but
if I have to build it myself?
email development pain points
email development = back to the ‘90s
CSS layout as we think,
just doesn’t work
HTML Tables, and tables, and tables,...
CSS inline styles
CSS proprieties (campaignmonitor.com/css)
Picture by http://www.guestfolio.com/
some best practices
600px → 320px
single column layout: the best option
background image
use Background Images Sparingly
<table>
code all structure using the table element
for more complicated layouts, nest tables
think mobile first
system font
web fonts are not widely supported in email,
web-safe fonts like Arial, Helvetica, Tahoma, Times Roman, and Georgia.
13-14 px text
20-22 px title
much more readable on a small screen
CTA
minimum size: 44 x 44px
place above the fold
images
use only absolute links for images
alt=“Use me”
don’t assume that the images will be always seen
see how design the not display image text on Litmus
!important
in order to remove the blue link on iOS use
color: #333 !important;
inline CSS
before sending
phone numbers
provide tappable phone numbers for mobile,
so users can easily call with a single touch
30 characters
limit subject lines to 30 characters or less
restrict the length
… of your emails,
subscribers often skim first,
deleting any email that’s too long to easily read on mobile
some email development tips
● Nest tables for consistent spacing
● Use Inline CSS
● set widths in each cell rather than on the
table
● Set a Background color on a container table
● Whitespace does matter
● Avoid relying on Images
● Don’t use an image as the first item in your
email
● Use ALT attributes
● Always have texts and images
● Don’t inline CSS until you have finished to
coding
● Use email tool will automatically inline your
CSS (e.g.: ZURB Inliner or Campaign
Monitor)
● Use, if you can, a template
● Don’t use all-image emails
● Create a preview text in an hidden <div>
● CSS targeting via attribute selectors
Source: campaignmonitor.com
but we are on the 2016
a lot of tools could help us
ZURB foundationfor email
● responsive grid for any layout
● common UI patterns to build faster
● make stylish emails fast with SASS
● spend less time testing & preparing
SASS version
Requirements:
● Node.js
● foundation-cli
● Inky HTML
● Sass
● Handlebars templates
● BrowserSync
● Image compression
● Inlining
● Gulp
$ foundation watch (work)
$ foundation build (live)
inky: templating language
“Inky is a templating language that converts
simple HTML tags into the complex table HTML
required for emails.
HTML emails require tables upon tables upon
tables to work properly. Although Foundation for
Emails takes a lot of the pain out of constructing
these tables, we've made it even easier with Inky,
a templating language that converts simple
HTML tags like <row> and <columns> into
complex table HTML.”
Base tags:
● Grid:
○ <container>
○ <row>
○ <columns>
● Button: <button>
● Callout: <callout>
● Menu:
○ <menu>
○ <item>
inky: a templating language by ZURB Foundation
<container>
<row>
<columns>This is a column.</columns>
</row>
</container>
<table class="container">
<tbody>
<tr>
<td>
<table class="row">
<tbody>
<tr>
<th class="small-12 large-12 columns first last">
<table>
<tr>
<th>This is a column.</th>
<th class="expander"></th>
</tr>
</table>
</th>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
inky: button
<button href="#">Button</button> <table class="button">
<tr>
<td>
<table>
<tr>
<td><a href="#">Button</a></td>
</tr>
</table>
</td>
</tr>
</table>
inky: coloring
<button href="#" class="alert">
Alert Button
</button>
<table class="button alert">
<tr>
<td>
<table>
<tr>
<td><a href="#">Alert Button</a></td>
</tr>
</table>
</td>
</tr>
</table>
inky: column
<columns>
This is a column.
</columns>
<th class="small-12 large-12 columns first last">
<table>
<tr>
<th>This is a column.</th>
<th class="expander"></th>
</tr>
</table>
</th>
inky: row
<container>
<row>
Columns go here
</row>
</container>
<table align="center" class="container">
<tbody>
<tr>
<td>
<table class="row">
<tbody>
<tr>
Columns go here
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
inky: spacer
<p>Stuff on top</p>
<spacer size="100"></spacer>
<p>Stuff on bottom</p>
<p>Stuff on top</p>
<table class="spacer">
<tbody>
<tr>
<td height="100px" style="font-size:100px;line-height:100px;">
&#xA0;
</td>
</tr>
</tbody>
</table>
<p>Stuff on bottom</p>
test! test! test!
litmus.com
● email previews
● builder
● checklist
● spam testing
● page testing
● email Analytics
or / and
Source: HTML5ROcks.com
Useful links
➔ The Ultimate Guide to CSS
➔ Coding your emails
➔ Foundation for Emails 2
➔ Litmus Blog
➔ Responsive email design
➔ Emailmonday
Thank you

More Related Content

Similar to Responsive emails and ZURB Foundation for email

Mobile Email User Experience Strategies
Mobile Email User Experience StrategiesMobile Email User Experience Strategies
Mobile Email User Experience StrategiesAnushri Thanedar
 
The Mobile Experience Through Email
The Mobile Experience Through EmailThe Mobile Experience Through Email
The Mobile Experience Through EmailDemac Media
 
Dreamforce | ExactTarget Marketing Cloud: The Mobile Inbox 201 - Design and Code
Dreamforce | ExactTarget Marketing Cloud: The Mobile Inbox 201 - Design and CodeDreamforce | ExactTarget Marketing Cloud: The Mobile Inbox 201 - Design and Code
Dreamforce | ExactTarget Marketing Cloud: The Mobile Inbox 201 - Design and CodeSalesforce Marketing Cloud
 
Email for Mobile Devices | Stream:20 Best Practice
Email for Mobile Devices | Stream:20 Best PracticeEmail for Mobile Devices | Stream:20 Best Practice
Email for Mobile Devices | Stream:20 Best PracticeStream20consultants
 
Developing a practical HTML5 magazine workflow
Developing a practical HTML5 magazine workflowDeveloping a practical HTML5 magazine workflow
Developing a practical HTML5 magazine workflowMichael Kowalski
 
3sixty Live Boston: Designing for the Mobile Inbox
3sixty Live Boston: Designing for the Mobile Inbox3sixty Live Boston: Designing for the Mobile Inbox
3sixty Live Boston: Designing for the Mobile InboxLitmus
 
Email + Mobile Webinar
Email + Mobile WebinarEmail + Mobile Webinar
Email + Mobile WebinarLitmus
 
Social Fresh: Optimizing Email for Mobile Audiences
Social Fresh: Optimizing Email for Mobile AudiencesSocial Fresh: Optimizing Email for Mobile Audiences
Social Fresh: Optimizing Email for Mobile AudiencesLitmus
 
Responsive Email Design Increases Click-Through Rate By > 20%
Responsive Email Design Increases Click-Through Rate By > 20%Responsive Email Design Increases Click-Through Rate By > 20%
Responsive Email Design Increases Click-Through Rate By > 20%Salesforce Marketing Cloud
 
Tips & tricks to render your email correctly on all devices
Tips & tricks to render your email correctly on all devicesTips & tricks to render your email correctly on all devices
Tips & tricks to render your email correctly on all devicesCopernica BV
 
Responsive Design Webinar
Responsive Design WebinarResponsive Design Webinar
Responsive Design WebinarInformz
 
Mobile email - chasing context
Mobile email -  chasing contextMobile email -  chasing context
Mobile email - chasing contextAnna Yeaman
 
Strategies, Tactics and Design Tips for Mobile Email Success
Strategies, Tactics and Design Tips for Mobile Email SuccessStrategies, Tactics and Design Tips for Mobile Email Success
Strategies, Tactics and Design Tips for Mobile Email SuccessLitmus
 
Designing for (almost) every device
Designing for (almost) every deviceDesigning for (almost) every device
Designing for (almost) every deviceRos Hodgekiss
 
Mobile email: strategies and how-tos for the small screen
Mobile email: strategies and how-tos for the small screenMobile email: strategies and how-tos for the small screen
Mobile email: strategies and how-tos for the small screenLitmus
 
why android first?
why android first?why android first?
why android first?Enhancers
 
Mobile Email 2012
Mobile Email 2012Mobile Email 2012
Mobile Email 2012Andy Thorpe
 
Hooray Icon Fonts workshop
Hooray Icon Fonts workshopHooray Icon Fonts workshop
Hooray Icon Fonts workshopjameswillweb
 
LATEST_TRENDS_IN_WEBSITE_DEVELOPMENT.pptx
LATEST_TRENDS_IN_WEBSITE_DEVELOPMENT.pptxLATEST_TRENDS_IN_WEBSITE_DEVELOPMENT.pptx
LATEST_TRENDS_IN_WEBSITE_DEVELOPMENT.pptxchitrachauhan21
 
Email building best practice - a guide for designers
Email building best practice - a guide for designersEmail building best practice - a guide for designers
Email building best practice - a guide for designersVRAMP Employee Engagement
 

Similar to Responsive emails and ZURB Foundation for email (20)

Mobile Email User Experience Strategies
Mobile Email User Experience StrategiesMobile Email User Experience Strategies
Mobile Email User Experience Strategies
 
The Mobile Experience Through Email
The Mobile Experience Through EmailThe Mobile Experience Through Email
The Mobile Experience Through Email
 
Dreamforce | ExactTarget Marketing Cloud: The Mobile Inbox 201 - Design and Code
Dreamforce | ExactTarget Marketing Cloud: The Mobile Inbox 201 - Design and CodeDreamforce | ExactTarget Marketing Cloud: The Mobile Inbox 201 - Design and Code
Dreamforce | ExactTarget Marketing Cloud: The Mobile Inbox 201 - Design and Code
 
Email for Mobile Devices | Stream:20 Best Practice
Email for Mobile Devices | Stream:20 Best PracticeEmail for Mobile Devices | Stream:20 Best Practice
Email for Mobile Devices | Stream:20 Best Practice
 
Developing a practical HTML5 magazine workflow
Developing a practical HTML5 magazine workflowDeveloping a practical HTML5 magazine workflow
Developing a practical HTML5 magazine workflow
 
3sixty Live Boston: Designing for the Mobile Inbox
3sixty Live Boston: Designing for the Mobile Inbox3sixty Live Boston: Designing for the Mobile Inbox
3sixty Live Boston: Designing for the Mobile Inbox
 
Email + Mobile Webinar
Email + Mobile WebinarEmail + Mobile Webinar
Email + Mobile Webinar
 
Social Fresh: Optimizing Email for Mobile Audiences
Social Fresh: Optimizing Email for Mobile AudiencesSocial Fresh: Optimizing Email for Mobile Audiences
Social Fresh: Optimizing Email for Mobile Audiences
 
Responsive Email Design Increases Click-Through Rate By > 20%
Responsive Email Design Increases Click-Through Rate By > 20%Responsive Email Design Increases Click-Through Rate By > 20%
Responsive Email Design Increases Click-Through Rate By > 20%
 
Tips & tricks to render your email correctly on all devices
Tips & tricks to render your email correctly on all devicesTips & tricks to render your email correctly on all devices
Tips & tricks to render your email correctly on all devices
 
Responsive Design Webinar
Responsive Design WebinarResponsive Design Webinar
Responsive Design Webinar
 
Mobile email - chasing context
Mobile email -  chasing contextMobile email -  chasing context
Mobile email - chasing context
 
Strategies, Tactics and Design Tips for Mobile Email Success
Strategies, Tactics and Design Tips for Mobile Email SuccessStrategies, Tactics and Design Tips for Mobile Email Success
Strategies, Tactics and Design Tips for Mobile Email Success
 
Designing for (almost) every device
Designing for (almost) every deviceDesigning for (almost) every device
Designing for (almost) every device
 
Mobile email: strategies and how-tos for the small screen
Mobile email: strategies and how-tos for the small screenMobile email: strategies and how-tos for the small screen
Mobile email: strategies and how-tos for the small screen
 
why android first?
why android first?why android first?
why android first?
 
Mobile Email 2012
Mobile Email 2012Mobile Email 2012
Mobile Email 2012
 
Hooray Icon Fonts workshop
Hooray Icon Fonts workshopHooray Icon Fonts workshop
Hooray Icon Fonts workshop
 
LATEST_TRENDS_IN_WEBSITE_DEVELOPMENT.pptx
LATEST_TRENDS_IN_WEBSITE_DEVELOPMENT.pptxLATEST_TRENDS_IN_WEBSITE_DEVELOPMENT.pptx
LATEST_TRENDS_IN_WEBSITE_DEVELOPMENT.pptx
 
Email building best practice - a guide for designers
Email building best practice - a guide for designersEmail building best practice - a guide for designers
Email building best practice - a guide for designers
 

Recently uploaded

Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 

Recently uploaded (20)

Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 

Responsive emails and ZURB Foundation for email

  • 3. responsive emails are supported by: ● iOS Mail app ● Android 4.x Email (OEM) app ● Windows Phone 7.5 ● BlackBerry OS7 ● BlackBerry Z10 ● iPhone Gmail app ● Android Gmail app ● Windows Phone 8 (partial supported) ● Windows Phone 10 (partial supported) are not supported by: ● iPhone Mailbox app ● iPhone Yahoo! Mail app ● Android Yahoo! Mail app ● BlackBerry OS5 ● Windows Mobile 6.1 ● Windows Phone 7 ●
  • 5. 150 t/day studies find people look at their phones an avg of 150 times/day
  • 6. 47% of email opens happen on mobile devices*
  • 7. 6x transactional emails can produce over 6 times the revenue than generic marketing emails.
  • 8.
  • 9. Movable Ink “US Consumer Device Preference Report: Q3 2014″ (2014)
  • 10. When do people check their email on mobile? Movable Ink “US Consumer Device Preference Report: Q3 2014″ (2014)
  • 11. 45% of consumers have unsubscribed from a brand’s promotional email because the brand’s emails or website dind’t display or work well on their smartphone
  • 12. 34% of consumers have marked a brand’s promotional emails as spam because they didn’t display or work well on their smartphone
  • 13. 79% of people delete or unsubrscibe an email if it doesn’t look good on their mobile device
  • 14. #ResponsiveEmailDesign “Using fluid tables, fluid images, and media queries to control the layout of an email across different device sizes.”
  • 15. who can help us in our job
  • 17. but if I have to build it myself?
  • 19. email development = back to the ‘90s CSS layout as we think, just doesn’t work HTML Tables, and tables, and tables,... CSS inline styles CSS proprieties (campaignmonitor.com/css) Picture by http://www.guestfolio.com/
  • 21. 600px → 320px single column layout: the best option
  • 23. <table> code all structure using the table element for more complicated layouts, nest tables
  • 25. system font web fonts are not widely supported in email, web-safe fonts like Arial, Helvetica, Tahoma, Times Roman, and Georgia.
  • 26. 13-14 px text 20-22 px title much more readable on a small screen
  • 27. CTA minimum size: 44 x 44px place above the fold
  • 28. images use only absolute links for images
  • 29. alt=“Use me” don’t assume that the images will be always seen see how design the not display image text on Litmus
  • 30. !important in order to remove the blue link on iOS use color: #333 !important;
  • 32. phone numbers provide tappable phone numbers for mobile, so users can easily call with a single touch
  • 33. 30 characters limit subject lines to 30 characters or less
  • 34. restrict the length … of your emails, subscribers often skim first, deleting any email that’s too long to easily read on mobile
  • 35. some email development tips ● Nest tables for consistent spacing ● Use Inline CSS ● set widths in each cell rather than on the table ● Set a Background color on a container table ● Whitespace does matter ● Avoid relying on Images ● Don’t use an image as the first item in your email ● Use ALT attributes ● Always have texts and images ● Don’t inline CSS until you have finished to coding ● Use email tool will automatically inline your CSS (e.g.: ZURB Inliner or Campaign Monitor) ● Use, if you can, a template ● Don’t use all-image emails ● Create a preview text in an hidden <div> ● CSS targeting via attribute selectors Source: campaignmonitor.com
  • 36. but we are on the 2016 a lot of tools could help us
  • 37. ZURB foundationfor email ● responsive grid for any layout ● common UI patterns to build faster ● make stylish emails fast with SASS ● spend less time testing & preparing
  • 38. SASS version Requirements: ● Node.js ● foundation-cli ● Inky HTML ● Sass ● Handlebars templates ● BrowserSync ● Image compression ● Inlining ● Gulp $ foundation watch (work) $ foundation build (live)
  • 39. inky: templating language “Inky is a templating language that converts simple HTML tags into the complex table HTML required for emails. HTML emails require tables upon tables upon tables to work properly. Although Foundation for Emails takes a lot of the pain out of constructing these tables, we've made it even easier with Inky, a templating language that converts simple HTML tags like <row> and <columns> into complex table HTML.” Base tags: ● Grid: ○ <container> ○ <row> ○ <columns> ● Button: <button> ● Callout: <callout> ● Menu: ○ <menu> ○ <item>
  • 40. inky: a templating language by ZURB Foundation <container> <row> <columns>This is a column.</columns> </row> </container> <table class="container"> <tbody> <tr> <td> <table class="row"> <tbody> <tr> <th class="small-12 large-12 columns first last"> <table> <tr> <th>This is a column.</th> <th class="expander"></th> </tr> </table> </th> </tr> </tbody> </table> </td> </tr> </tbody> </table>
  • 41. inky: button <button href="#">Button</button> <table class="button"> <tr> <td> <table> <tr> <td><a href="#">Button</a></td> </tr> </table> </td> </tr> </table>
  • 42. inky: coloring <button href="#" class="alert"> Alert Button </button> <table class="button alert"> <tr> <td> <table> <tr> <td><a href="#">Alert Button</a></td> </tr> </table> </td> </tr> </table>
  • 43. inky: column <columns> This is a column. </columns> <th class="small-12 large-12 columns first last"> <table> <tr> <th>This is a column.</th> <th class="expander"></th> </tr> </table> </th>
  • 44. inky: row <container> <row> Columns go here </row> </container> <table align="center" class="container"> <tbody> <tr> <td> <table class="row"> <tbody> <tr> Columns go here </tr> </tbody> </table> </td> </tr> </tbody> </table>
  • 45. inky: spacer <p>Stuff on top</p> <spacer size="100"></spacer> <p>Stuff on bottom</p> <p>Stuff on top</p> <table class="spacer"> <tbody> <tr> <td height="100px" style="font-size:100px;line-height:100px;"> &#xA0; </td> </tr> </tbody> </table> <p>Stuff on bottom</p>
  • 47. litmus.com ● email previews ● builder ● checklist ● spam testing ● page testing ● email Analytics
  • 48.
  • 51. Useful links ➔ The Ultimate Guide to CSS ➔ Coding your emails ➔ Foundation for Emails 2 ➔ Litmus Blog ➔ Responsive email design ➔ Emailmonday