Infrastructure for Pre-event notifications ๐
Opened this issue ยท 3 comments
Description
Many ColorStack members may not be aware of when events are upcoming, or may forget the dates. Two days before an event, we want to send email notifications to all undergraduate members that have not yet registered for an event. To do this, we first need to implement a function that can send these mass notifications when called.
Acceptance Criteria
Implement a function that takes in a given event. Then, two days before the event, the function should find all undergraduate members that are not registered for the event and send email notifications to all of them.
Additional Context
We know if a member is an undergraduate by examining the field educationLevel
within the students
table.
Add this function within a new file in the path packages/core/src/modules/event/use-cases
.
Check out sending emails using the job notification.email.send
, which utilizes the function sendEmail
implemented here.
Can I take on this? @tomas-salgado
Hey, could I take this on? @tomas-salgado