38 lines
1.0 KiB
Markdown
38 lines
1.0 KiB
Markdown
# Task: Invite Email Delivery
|
|
|
|
## Goal
|
|
|
|
Send invited users an acceptance link when a workspace invite is created or resent.
|
|
|
|
## Feature Spec
|
|
|
|
- `docs/FEATURES/workspace-invites.md`
|
|
|
|
## Scope
|
|
|
|
- Generate acceptance URLs from configured website options.
|
|
- Send an invite email after successful invite creation.
|
|
- Add a manager-only resend endpoint for pending, unexpired invites.
|
|
- Avoid sending email if invite creation fails.
|
|
- Do not include sensitive token values in logs.
|
|
|
|
## Constraints
|
|
|
|
- Use the repository email infrastructure.
|
|
- Do not introduce a new email provider.
|
|
- Keep email copy concise and product-specific.
|
|
|
|
## Likely Files
|
|
|
|
- `backend/src/Socialize.Api/Modules/Workspaces/Handlers/CreateWorkspaceInvite.cs`
|
|
- `backend/src/Socialize.Api/Modules/Workspaces/Handlers/ResendWorkspaceInvite.cs`
|
|
- `backend/src/Socialize.Api/Infrastructure/Emailer/`
|
|
- `backend/src/Socialize.Api/Infrastructure/Configuration/WebsiteOptions.cs`
|
|
|
|
## Validation
|
|
|
|
```bash
|
|
dotnet build backend/Socialize.slnx
|
|
dotnet test backend/Socialize.slnx
|
|
```
|