Hey @haekim7111 Welcome to the n8n community
I think on 1.115.3 the reset keeps everything you listed. I read that version’s command: it keeps the existing owner row (same user ID, same personal project), moves every workflow and credential into that owner’s personal project, deletes any other users, and blanks the owner’s name, email and password. Workflow and credential rows themselves aren’t touched, and neither is your encryption key, so credentials still decrypt. If you’re the only user, everything already sits in your personal project and nothing moves.
Run docker exec -u node -it n8n_gmail n8n user-management:reset, then restart the container. The setup screen you get writes onto that same owner row, so enter your old email and a new password and the identity is unchanged.
SMTP would keep things identical too, but adding the N8N_SMTP_* variables means recreating the container. If you go that way, pin n8nio/n8n:1.115.3, since latest is 2.x now. None of the CLI commands in 1.115.3 changes just a password.
Hi @haekim7111, for your requirement to preserve ownership associations exactly, I’d use SMTP and the normal password-reset flow. In 1.115.3 it updates the password on the existing user. The CLI reset preserves an existing owner ID and the workflow/credential data, but transfers ownership from other projects and deletes other users.
Add your provider’s SMTP settings to the current Docker configuration: N8N_EMAIL_MODE=smtp, N8N_SMTP_HOST, N8N_SMTP_PORT, N8N_SMTP_USER, N8N_SMTP_PASS, N8N_SMTP_SENDER, and the matching N8N_SMTP_SSL value. Recreate n8n_gmail using n8nio/n8n:1.115.3, keeping n8n_gmail:/home/node/.n8n and any existing N8N_ENCRYPTION_KEY unchanged. Then use Forgot my password with the original owner email. There is no supported password-only CLI command in that release.