Originally published on the Elaan blog.
Sending one email is one line of code. The system that grows around it takes months. We had to build that system three times for different products before making it the product, so here is the case for building it yourself and the case against, argued through the two requirements that usually settle it.
Someone files a ticket: "users should be notified when their report is ready." You look at it for about ninety seconds, decide it's a Tuesday, and write this:
send_email(user.email, "Your report is ready", body)
Enter fullscreen mode






