Add Resend organization invitation email notifications#579
Conversation
Claude Code Review — PR #579 (Invitation Email Notifications)Reviewed the diff in full; no prior reviews/comments to build on. Overall the structure is clean (port/adapter for
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5481232092
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
5481232 to
c93eae3
Compare
There was a problem hiding this comment.
Code Review
This pull request implements AWS SES email notifications for organization invitations, including database schema updates to track delivery status and service-level integration. Feedback highlights a critical missing error handler for a fallible builder call, an efficiency concern regarding repeated AWS client initialization, and a performance issue where inviter details are redundantly fetched during batch invitation processing.
c93eae3 to
fb0b3bc
Compare
|
Review triage update:
Validation run after the review fixes:
|
Summary
Review follow-up
nearai-cloud-uidoes not currently expose a token landing page; linking to/v1/invitations/{token}would send users to API JSON rather than a usable UIDeployment notes
INVITATION_EMAIL_ENABLED=true,INVITATION_EMAIL_FROM,RESEND_API_KEY_FILEorRESEND_API_KEY, andCLOUD_UI_BASE_URLNEAR AI Cloud <no-reply@near.ai>in dev because thenear.aidomain is not verified in that Resend account yet50b86c6f-1276-4b29-a977-b0f27594e3aaValidation
cargo test -p services email --libcargo test -p services create_invitations --libcargo test -p config invitation_emailcargo check -p services -p database -p apicargo test -p api --libcargo test -p database --libcargo clippy --all-targets --all-features -- -D warningscargo fmt --checkgit diff --checkFollow-up issues