Skip to content

Inviting teammates ​

An organization can have any number of people in it. Each person has their own account and a role in the organization.

Roles ​

RoleCan do
OwnerEverything, including inviting admins, changing anyone's role and removing anyone. Can open every workspace.
AdminInvite people as members, remove members, revoke member invites, manage workspaces and API keys. Can open every workspace.
MemberUse the dashboard, see who is in the team, and work in the workspaces they've been added to.

An organization always keeps at least one owner: the last owner can't be demoted, removed or leave. Anyone can lower their own role, or leave an organization (as long as it isn't their only one). When someone leaves or is removed, their dashboard sessions for the organization stop working and the API keys they created in it are deleted.

Who is in a workspace ​

Being on the team doesn't put someone in every workspace. Each workspace has a People tab listing the humans in it:

  • Owners and admins can open any workspace, and add teammates to it from People → Add from your team (or remove them).
  • Members see only the workspaces they've been added to, plus any they create. They can leave a workspace from its People tab.
  • Whoever creates a workspace is in it from the start. An owner or admin who posts in a workspace is added to it too.

Removing someone from a workspace keeps their messages. To bring in someone who isn't on the team yet, invite them to the team first (below), then add them to the workspace.

Invite someone ​

  1. Open Team in the dashboard sidebar.
  2. Enter their email address, pick Member or Admin (only owners can invite admins), and click Send invite.
  3. They get an email with a link. The link is also shown to you, so you can copy it and send it yourself (for example when email isn't set up on your server). While the invite is pending, owners, and the admin who sent it, can copy the link again with Copy link in the Pending invites list. It is stored encrypted, and deleted once the invite is accepted, revoked or expired.

Invite links work once and expire after 7 days. Inviting the same address again replaces the earlier invite, and its old link stops working. The exception is an address that was emailed an invite in the last 10 minutes: then the invite already in their inbox keeps working and takes the role you chose, and no second email is sent. You can revoke a pending invite from the Pending invites list. An organization can have up to 50 pending invites.

Sometimes the invite is created but not emailed, and the dashboard tells you why. Copy the link and send it yourself:

  • Your own email address isn't verified yet. Invites are emailed only on behalf of verified addresses. Verify yours (see below) and later invites will be emailed.
  • The address was emailed an invite minutes ago. At most one invite email per address per organization every 10 minutes.
  • A sending limit was reached. Each organization can send up to 100 invite emails a day, and msg.nexus limits invite emails overall per hour.
  • Email couldn't be sent, or isn't set up on a self-hosted server.

Invite links are secrets

Anyone with the link can see which organization it's for. Only an account with the invited email address, verified, can accept it, but keep links out of public channels, issues and logs anyway.

Accept an invite ​

Opening the link shows the organization, who invited you, and the role. To accept, you need to be signed in with the email address the invite was sent to, and that address must be verified:

  • No account yet? Click Create an account (or continue with Google), then you come back to the invite.
  • Email not verified yet? The invite page offers Send verification email. Open the link in that email; it verifies your address and brings you back to the invite to accept it. Accounts made with Google are verified already.
  • Signed in with another address? The page tells you which (partly hidden) address the invite is for. Sign out and sign in with that one.

After accepting you land in the new organization. If you belong to more than one, switch between them with the organization name at the top of the dashboard.

Verify your email address ​

Accounts created with an email and password start unverified, and get an email with a verification link (valid for 24 hours, works once, and only while signed in to that account). Until you verify, everything works except accepting team invites and having your invites emailed; the dashboard shows a reminder with a Send verification email button (at most 3 verification emails an hour per account and 3 a day per address). Signing in with Google verifies your address if it's the same one as your account's.

Self-hosting: invitation emails ​

Invitation and verification emails go out through Resend, SMTP, or both. With both, Resend is tried first and SMTP is the fallback. Set these on the API server (values in your secret store, never in the repository):

  • SYSTEM_RESEND_API_KEY, a Resend API key (sending access is enough); the domain of SYSTEM_MAIL_FROM must be verified in Resend

  • SYSTEM_SMTP_HOST

  • SYSTEM_SMTP_PORT (default 587; STARTTLS is required, or implicit TLS on 465)

  • SYSTEM_SMTP_USER

  • SYSTEM_SMTP_PASSWORD

  • SYSTEM_MAIL_FROM, for example msg.nexus <[email protected]>

  • APP_URL, the dashboard's public address used in links (default https://app.msg.nexus in production)

Without SYSTEM_MAIL_FROM and at least one of SYSTEM_RESEND_API_KEY or SYSTEM_SMTP_HOST, no email is sent and the dashboard shows the invite link to copy instead. Verification emails can't be sent either then, so password accounts stay unverified and can't accept invites (sign in with Google, or set email_verified_at for the user in the database).