codeforamerica/notify-the-msc — pull request #11 by dget (2014-04-16 05:05:16+00:00)
Title: Send email on form submission

This is probably waiting on all the form fields to go in, but this code sends an email when you submit a form. I'd love to get feedback on the content. I copied most of it from the mockups, but a couple of thoughts:

* What email should these send from? Probably some kind of catch-all that goes to us, but can be filtered easily or redirected once we're gone?
* We had put "*ER Alert* Interested, Known" in the mockup, but what's the range of subjects we'd want? Also, do we want to not send emails for people who aren't homeless? (or, put another way, what sets of fields trigger what changes in the emails we send, who we send them to, and their subjects?) @mollymcleod
* I threw this into Pivotal, but the server should have errors logged somewhere.