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

Send email when an invite is created

Đang mở
#1,361 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
needs clarification Time: 4 hours
Ngôn ngữ chính
Elixir
Star
234
Fork
82
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

# 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.