Bug: [CE] Workspace invite sends no email and drops the invite token; no resend from the members list
Author: AsifMahsudCreated Sep 28, 2026Updated Sep 28, 2026
Please confirm that the bug report does not already exist
- I confirm there is no existing issue for this bug.
Steps to reproduce
Self-hosted NocoDB CE 2026.09.0 (PostgreSQL meta DB, SMTP configured via NC_SMTP_*, NC_SITE_URL set; base invites and password-reset emails do arrive, so mail works).
- Open the workspace → Members (Collaborators) and click Invite.
- Enter an email address that does not exist on the instance yet, pick a role, send.
- The dialog reports success and the person appears in the members list.
Actual
- No email is sent.
nc_mail_sendsgets no row for the address; the user only has a row innc_users_v2with aninvite_tokenand anc_workspace_usersrow. - The dialog shows nothing to copy either, so there is no way to hand the person a link.
- The members list has no "Resend invite" / "Copy invite URL" action. The only working path is Account settings → Users → row menu → Resend invite / Copy invite URL, which most admins will not find.
Why (from the source at e6817c2)
- The dialog is
DlgInviteDlgwithtype="workspace", which callsPOST /api/v1/workspaces/:workspaceId/invitations. In CE that isWorkspaceUsersService.invite, which creates the user with an invite token, inserts the workspace user and returns{ msg: 'success', invite_token }without ever callingMailService: https://github.com/nocodb/nocodb/blob/e6817c2c9573f6d5076b8cf388920f9311522db8/packages/nocodb/src/services/workspace-users.service.ts#L123-L255 - The frontend discards the response, so the returned
invite_tokennever reaches the admin: https://github.com/nocodb/nocodb/blob/e6817c2c9573f6d5076b8cf388920f9311522db8/packages/nc-gui/store/workspace.ts#L122-L131 - The CE
MailServiceonly handlesBASE_INVITEandORGANIZATION_INVITE; there is no workspace-invite mail event, so nothing in CE can send this email today. - By contrast the base-level invite (
POST /api/v2/meta/bases/:baseId/users) does sendBASE_INVITE, and the org-level resend sendsORGANIZATION_INVITE.
Desired Behavior
Either of these would fix it for CE users:
WorkspaceUsersService.invitesends an invite email for newly created users (anORGANIZATION_INVITE-style mail with the signup link would do; the token is already generated and persisted), and the workspace members list gets a "Resend invite" / "Copy invite URL" action like Account → Users has.- If email from the workspace dialog is intentionally EE-only, the CE dialog should at least show the returned invite URL (
/signup/<invite_token>) so the admin can pass it on, the same way the Account → Users dialog does when SMTP is not configured.
Happy to open a PR once the preferred approach is agreed.
Project Details
NocoDB used as docker : true
NocoDB version : 2026.09.0 (behaviour unchanged on develop @ e6817c2)
Database used in NC_DB URL : pg
Project was created by clicking : New Project
Database on which spreadsheet is created : pg
OS on which NocoDB is running : Linux (Docker, nocodb/nocodb image)
Node.js version if running as node : n/a (docker image)
Database version : PostgreSQL (Cloud SQL)Attachments
No response
Source: nocodb/nocodb