code-corps / code-corps-api

Elixir/Phoenix API for Code Corps.
https://www.codecorps.org
MIT License
235 stars 86 forks source link

Send email when an invite is created #1361

Open begedin opened 6 years ago

begedin commented 6 years ago

Problem

When a user invite is created, we want to send an email to the specified email address.

The contents of the email differ slightly based on the invite being targeted at just getting a user created (no role or project id) or if it also has a project id and role specified.

Depending on how different the two emails potentially are, we may need to have separate templates for each of the two cases.

Subtasks

References

Partially blocked by #1350, #1351