generalized the send_activation_email function to send_template_email which can handle sending both the activation and apology emails (in addition to any other templated email); generated a new email specific registration manager which handles the case where only specific domains are allowed