If your application needs to send notifications by text and/or email, you don't really want to create this infrastructure yourself. It's much easier to integrate with a service provider via their API.


Twilio is a really easy way to add SMS (texting) functionality to your application. With just a few lines of code, you can add texting capability to your application.


Sending email notifications from a web application via SMTP is easy. Getting your messages past spam filters is harder.

Understanding and configuring Sender Policy Framework (SPF) and DomainKeys Identified Mail (DKIM) is critical.

I've had good luck working with service providers like SendGrid and Elastic Email. It's easier to let them focus on getting mail delivered.