Add a new config var for sending survey emails

Add this new var and survey_url to lib/configuration so that they
can be more easily stubbed in tests.