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

Migrate Notifications to the new API #3103

Open
wants to merge 104 commits into
base: staging
Choose a base branch
from

Conversation

cesarvarela
Copy link
Collaborator

@cesarvarela cesarvarela commented Sep 17, 2024

closes #3156

Working deploy preview: https://pr-3103--staging-aiid.netlify.app

Notifications will be sent to your staging user email.

Environment updates:

SITE_URL must be set in Github and Netlify for both staging=https://stating-aiid.netlify.com and https://incidentdatabase.ai. This value is used for email templates and to let the process notifications plugin know where the API endpoint is.

MAILERSEND_API_KEY needs to be added to Netlify in both staging and production. It should be a different one, scoped to a different email account if possible.

NOTIFICATIONS_SENDER_NAME Name of the notifications sender, i.e. AIID Notifications, must be added to staging and production Netlify environments and should be different on each.

NOTIFICATIONS_SENDER email account sending the notifications i.e. [email protected], should be added to both Netlify staging and production envs, and should be a different account for each.

note

We'll still be using Sendgrid to send all authorization-related emails (e.g., "forgot password," "email confirmation," etc.). We should discuss whether it is worth moving those to Mailersend or switching authorization (leaving Atlas behind completely 😮) to something like magic login links.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants