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

Infrastructure for Pre-event notifications 🔔 #477

Open
tomas-salgado opened this issue Aug 24, 2024 · 3 comments · May be fixed by #524
Open

Infrastructure for Pre-event notifications 🔔 #477

tomas-salgado opened this issue Aug 24, 2024 · 3 comments · May be fixed by #524
Assignees
Labels
Backend 🔌 This requires backend work (ie: DB, business logic). Feature 🚀 A new feature or improvement.

Comments

@tomas-salgado
Copy link
Collaborator

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.

@tomas-salgado tomas-salgado added Backend 🔌 This requires backend work (ie: DB, business logic). Feature 🚀 A new feature or improvement. labels Aug 24, 2024
@imnotrafa
Copy link

Can I take on this? @tomas-salgado

@Sentiaus
Copy link

Sentiaus commented Sep 6, 2024

Hey, could I take this on? @tomas-salgado

@imnotrafa
Copy link

I will be submitting a PR for this issue soon! @Sentiaus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend 🔌 This requires backend work (ie: DB, business logic). Feature 🚀 A new feature or improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants