Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

send email when project receives or loses vouched badge #1861

Open
3 of 9 tasks
divine-comedian opened this issue Oct 8, 2024 · 0 comments
Open
3 of 9 tasks

send email when project receives or loses vouched badge #1861

divine-comedian opened this issue Oct 8, 2024 · 0 comments
Assignees

Comments

@divine-comedian
Copy link
Collaborator

divine-comedian commented Oct 8, 2024

We should handle informing the user when they receive the vouched badge as well as when they have it taken away. This should be done via an email sent through Ortto.

Currently we use an activity called project-verification that sends a verified-status variable - depending on the value of this variable we send a different email to the user. I've added two new conditions and emails that we can use for this purpose

  • vouched - triggers email for when a project becomes vouched
  • unvouched - triggers email for when a project become vouched

Note: If a project becomes verified and givbacks eligible in a single action we should ONLY send the GIVbacks eligible email
conversely, if a project loses it's badge either from rejection of its applicaiton or revoking it's givbacks eligible badge we should only send those email, not the "unvouched" email

steps needed to accomplish

  • - setup activity in ortto
  • - draft email for when project receives vouched badge in Ortto
  • - draft email for when project has lost vouched badge in Ortto
  • - setup activity trigger in BE when admin changes verified status of project

AC

  • Admin can change vouched/verified status of project from admin panel
  • when project receives vouched badge email is sent to project owner
  • when project has vouched badge removed an email is sent to project owner
  • when project has no vouched badge and receives both badges at once (givbacks & vouched badge) ONLY givbacks email is sent
  • when project has both badges and loses both in a single action, ONLY givbacks email is sent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Dev Research
Development

No branches or pull requests

2 participants