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

Add the emailer route to the adopt a tree route #223

Open
fzyang1227 opened this issue Feb 4, 2024 · 0 comments
Open

Add the emailer route to the adopt a tree route #223

fzyang1227 opened this issue Feb 4, 2024 · 0 comments

Comments

@fzyang1227
Copy link

fzyang1227 commented Feb 4, 2024

Why

  • to provide a email with specific next steps in terms of taking care of the tree/etc.
  • to send the email to the user upon adoption (automatic email)

What to do

  • create a basic (dummy) template for a sample email via the template route (this will be provided later to be fully implemented
  • add the emailer route to the adopt a tree route
    • grab the user's email in order to send it to them
    • grab the template and send it to the email
    • reference of the welcome email on lines 45-56
  • note: see what is possible to protect this call (i.e. not let a user spam adopt/unadopt to send a ton of emails/requests)
@fzyang1227 fzyang1227 added this to the Emailing Templates milestone Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant