Dev Useful Stuff
2.02K subscribers
2 photos
337 links
Here you can find some interesting links to development libraries, frameworks, tools, plugins and articles
Download Telegram
Mailit - A tiny microservice with REST API that simply sends emails. Written on JavaScript. https://github.com/dthree/mailit

#emails #microservice
Responsive email is hard. A quick and dirty solution is to use some ready service, such as Mailchimp that provides online drag-n-drop constructor to build template for your email. The result code is horrible, but it works. What if you want to write emails by yourself but you want to make it easy and fast? One solution is to use special markup languages that allows you to separate the layout and scaring inline style hacks. Here are few promising open source options for you.

1) HEML (★ 2136). Looks very similar to html, but contains some email-specific tags. HEML has clean documentation and online editor

2) MJML (★ 5865). Quite mature project with the large community. Unlike HTML it looks more like XML, but still very compact. However, when you add a tag attributes, the code looks messy, but again it is better than pure HTML. MJML also has very nice online constructor, but in addition you can install their desktop app to work offline (written on Electron). You might want to check their large library of ready templates with source codes to use.

#emails #js #responsive