Hello. Most of the time I manage the development of shopium.ua and zakaz.ua projects, but the engineer inside me periodically requires entertainment. Having no free time for hackathons, garages, start-up saunas, etc., I came up with my own format: “I want what the soul wants”:
i need myself
MVP implementation time - up to 24 hours in total
budget - up to $ 100
commercial potential
In our projects we send users letters. We send newsletters to users, and MailChimp does an excellent job of it, but the niche for sending transactional letters (confirmations, notifications, etc.) has been relatively empty until recently.
In most projects that I know, transactional emails are created directly from code from the letter template (and it’s good if it is placed into a separate file, and not stitched together in code), and transferred to the local SMTP server. And wherein:
only programmers can change the text of messages (it is slow and expensive, and it is impossible to delegate work with texts to the content manager, and for any change in the text of letters, the heating system is needed)
opening of letters and clicks on links are not tracked (there is no data to improve the text of the letter)
bounce is not processed (you can constantly send letters to non-existent addresses, and this affects the "spaminess" of the address from which the letters are sent)
only a few have signed DKIM letters (also reduces the chances of delivering letters to the inbox)
')
I decided in 24 hours to make a service with which you can reliably send beautiful letters, quickly change their text, and track statistics. Meet the notifout .
What is Notifout?
Notifout.com is a service for sending transactional messages to your users, and it works like this:
You are in Notifout announcing the list of email templates you want to send.
when you need to send a letter to the user, you make an HTTP POST request from your application, passing the template identifier, and any additional data in the form of JSON
Notifout using your template, and the transferred data will generate HTML and plain-text versions of the letter, assemble them into one letter, write down tokens to track the opening, register in the links the code to track clicks, put down the correct headers for Return-Path and List-Unsubscribe, sign a letter using the DKIM key, and send to the recipient.
All information about the recipient's interaction with the letter
If the recipient is unavailable - Notifout will correctly execute the bounce, and reflect this in the status of the letter.
About time and resources
The development was carried out mainly in the intervals between travel and meetings, in the evening under the favorite series. It was possible to fit into the planned format almost completely. The first version took 23:30 (including the localization of ru / en and payment via PayPal / LiqPay), sent everything out, accepted and worked in every way, but in order to fit into the timing, the implementation of DKIM / SPF had to be excluded from it. After the release, the addition of SPF + DKIM took about 4 more hours.
The plans were not to make a callus with the standard bootstrap - buy a pretty topic at https://wrapbootstrap.com/ , but for now everything is pretty nice and so.
Acknowledgments
Of course, such a result in 24 hours would not have been possible without excellent FOSS software, and excellent services:
We already use it in our projects, but I want to share it with others, therefore, for all users of the Habr until 01/08/12 there is an action: Register on http://notifout.com , and write to serg@notifout.com the code phrase "I'm c Habra", with a link to your profile on Habr, and the address under which you registered in Notifout and I will increase your free limit to 10 000 posts per month.
And on dessert - a video of 24 hours of Notifout creation, compressed to 11 minutes, to the accompaniment of the beautiful psi-trance Etnica - Full-on:
UPD1: By the way, anyone who is interested in the topic I recommend reading the excellent article from MailChimp Email Delivery For IT Professionals