github →

New request

#20117: User cannot change their own email

We'll provision a sandbox, run an agent against the issue, and open a draft PR. You can pull the branch and iterate from there.

Issue
sonarly:high

When running Twenty self hosted, users cannot change their email address.

After entering a new email address, the system indicates that a confirmation email will be sent. However, this email is never triggered or delivered.

As a result, users are blocked from completing the email change process.

On a self hosted Twenty instance, when a user tries to change their account email address, the application says that a confirmation email has been sent. However, no email is sent. Because the confirmation email is required to complete the process, the user cannot change their email address.

Expected behavior

When a user changes their email address, Twenty should trigger and send the confirmation email successfully.

After submitting a new email address, the user should receive a confirmation email at the new email address. Once the user confirms the change, the account email should be updated.

Technical inputs

  • Issue occurs on a self hosted Twenty instance.
  • The UI shows that a confirmation email should be sent.
  • No confirmation email is triggered or delivered.
  • Other transactional emails should be checked to confirm whether the issue is specific to email change confirmation emails or affects the mail service globally.
  • This may be related to the email verification / confirmation flow for account email changes in self hosted environments.
Assessmentadvisory
bug●● medium80% confidence

Self-hosted email change confirmation fails silently, likely due to missing email service trigger or misconfigured mail driver in the auth domain.

Likely files
  • packages/twenty-server/src/engine/core-modules/auth/services/auth.service.ts
  • packages/twenty-server/src/engine/core-modules/auth/services/email-verification.service.ts
  • packages/twenty-server/src/engine/core-modules/email/services/email.service.ts
  • packages/twenty-server/src/engine/core-modules/email/drivers/smtp.driver.ts
  • packages/twenty-server/src/engine/core-modules/user/services/user.service.ts
Create the request

This opens a fresh agent run and a draft PR for issue #20117.

Cancel