Skip to content

CS-60 [Improvement] [Feature] - Send onboarding email for new employee#2102

Merged
Marfuen merged 11 commits intomainfrom
chas/send-onboarding-email-to-employee
Feb 11, 2026
Merged

CS-60 [Improvement] [Feature] - Send onboarding email for new employee#2102
Marfuen merged 11 commits intomainfrom
chas/send-onboarding-email-to-employee

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Feb 4, 2026

This is an automated pull request to merge chas/send-onboarding-email-to-employee into dev.
It was created by the [Auto Pull Request] action.

@vercel
Copy link

vercel bot commented Feb 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
app Ready Ready Preview, Comment Feb 11, 2026 6:13pm
portal Ready Ready Preview, Comment Feb 11, 2026 6:13pm

Request Review

@cursor
Copy link

cursor bot commented Feb 4, 2026

PR Summary

Medium Risk
Touches member onboarding/invite flow and introduces a new outbound email side-effect plus dependency on NEXT_PUBLIC_PORTAL_URL, so misconfiguration or email provider issues could affect user experience without blocking member creation.

Overview
When adding a member via the employee/contractor without admin path (addEmployeeWithoutInvite), the server action now looks up the organization name, generates an invite URL from NEXT_PUBLIC_PORTAL_URL, and attempts to send an onboarding/invite email via sendInviteMemberEmail (email failures are logged but do not roll back member creation).

The invite modal now consumes the action’s result, distinguishes member add failures vs email send failures, and shows a warning toast listing users who were added successfully but did not receive an email. The example env updates NEXT_PUBLIC_PORTAL_URL to http://localhost:3002.

Written by Cursor Bugbot for commit 472a853. This will update automatically on new commits. Configure here.

@chasprowebdev chasprowebdev changed the title [dev] [chasprowebdev] chas/send-onboarding-email-to-employee CS-60 [Improvement] [Feature] - Send onboarding email for new employee Feb 4, 2026
@linear
Copy link

linear bot commented Feb 4, 2026

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@Marfuen Marfuen merged commit c2a5528 into main Feb 11, 2026
10 checks passed
@Marfuen Marfuen deleted the chas/send-onboarding-email-to-employee branch February 11, 2026 18:16
@claudfuen
Copy link
Contributor

🎉 This PR is included in version 1.82.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants