code-corps / code-corps/code-corps-api

Send email when an invite is created

未关闭
#1,361 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
needs clarification Time: 4 hours
主要语言
Elixir
星标
234
派生
82
PR 合并指标
30 天内没有已合并 PR

描述

# 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
- [ ] Add specifications on what the email content should be as a reply to this issue
- it will likely contain a link to the ember app route which is used to claim the invite
- [ ] Add one or two models for the email, depending on specifications
- [ ] Blocked by #1351: Add a step to the invite claim transaction in `Accounts.UserInvites.claim_invite`, which builds and sends the email

## References

Partially blocked by #1350, #1351

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。