Giveth / impact-graph

MIT License
49 stars 18 forks source link

send email when project receives or loses vouched badge #1861

Open divine-comedian opened 1 month ago

divine-comedian commented 1 month ago

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

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

AC

divine-comedian commented 2 weeks ago

@MohammadPCh what is the update on this issue?

MohammadPCh commented 2 weeks ago

@divine_comedian I've submitted a PR for it, and it's awaiting review. Apologies for not mentioning this issue earlier—I'll add it now!

divine-comedian commented 4 days ago

@kkatusic would you be able to pick this one up too when you finish the issue related to email verification?

kkatusic commented 3 days ago

@kkatusic would you be able to pick this one up too when you finish the issue related to email verification?

I will, thx ;)