Sjang92/enroll email squashed

@jrbl @nparlante 

Enrollment Email Feature

From Jane's feature description:

"Students are sometimes confused by the fact that they don't get an email to let them know when they've enrolled in a course.  This feature would have the system send an introductory email that will confirm enrollment.  There will be variants of that email for when they enroll: eg. before the start date or not."



These lines are pretty long; is there anything in them that we could memoize? I'm less concerned about saving computation and more about saving reading (the DRY principle) but often saving reading saves computation, too.