Open dhochbaum-dcp opened 2 weeks ago
Will we need to pass the environment in the confirm link, along with the uuid? Or is the plan for the API to search both the zap_staging_id and zap_production_id fields and use the result to determine which confirmation variable to change?
You shouldn't need to pass the environment as another path param in the link, but the confirm link will link to the confirmation page for the corresponding environment, so https://zap.planning.nyc.gov/subscribers/<uuid>/confirm
and https://zap-staging.planninglabs.nyc/subscribers/<uuid>/confirm
for production and staging, respectively.
Then when they visit the front end, it will call the backend for the corresponding environment which, in turn will know which custom field to use.
Send confirmation email to new subscribers when they are successfully signed up.
[ ] Once SendGrid contact import job is completed, send confirmation email to new subscriber
[ ] Email should follow designs in Figma
[ ] Email content should list what user selected - All CDs grouped by borough as well as citywide
[ ] "Confirm" button should link back to page in ZAP Search for confirming subscription. Path will be
/subscribers/<uuid>/confirm
.Dependent on #1564