Skip to content

Implementing post signup survey emails minds#3132

Ben requested to merge feat/post-signup-survey-m3132 into master

Ticket(s) / Related Merge Requests

minds#3132 (closed)

Helm: helm-charts!82 (diffs)

Summary of Changes

Implementing emails for a post-signup survey designed to be sent 7 days after registration.

Testing Considerations

  1. Exec into the container
  2. Test with source /vault/secrets/env && php cli.php Email testPostSignupSurvey --userGuid={{guid}}
  3. If there are any issues ensure you have confirmed the email address.

Deployment Considerations

Handle helm changes for production.

Deploy Terraform (line 992 here https://gitlab.com/minds/infrastructure/minds-terraform/-/blob/9321df3ec3e910c895caf8989dd14ee5748310d5/environments/minds/eks-minds.tf)

    email-day-7:
      cmd: Email --campaign=Recurring\\\\PostSignupSurvey\\\\PostSignupSurvey --send-list=SignupsByDateSendList --days-ago=7
      concurrencyPolicy: Forbid
      failedJobsHistoryLimit: 2
      schedule: "0 18 * * *"
      restartPolicy: OnFailure

Regression Scope

Additive change to create new email

Platform Affected (web, mobile, etc)

Emails - engine / runners

Developer Testing Completed

Manual and unit

Screenshots / Screen Recording

image

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Definition of Done Checklist

  • The Acceptance Criteria has been met
  • Code is tested: Testing includes unit/spec, E2E/automated and manual testing
  • Merge requests description has been filled out
Edited by Ben

Merge request reports