Originally created by @Giyeong-gian on GitHub (Jul 31, 2025).
Is your feature request related to a problem? Please describe.
I am currently using system prompt variables like {{USER_NAME}} in Open WebUI. It works great for customizing conversations. However, I often find myself needing the logged-in user's email address in prompts for logging, personalization, or routing purposes.
Describe the solution you'd like
I would like to request a new built-in system variable: {{USER_EMAIL}}, which would automatically provide the authenticated user's email address (when available).
This would work similarly to {{USER_NAME}}, and be extremely useful in:
Multi-user environments
Organizational deployments
Email-based agent workflows
Prompt templates that need email-specific logic
Describe alternatives you've considered
Right now, the only alternative is to manually add the email address inside a custom prompt each time, which is not scalable.
Originally created by @Giyeong-gian on GitHub (Jul 31, 2025).
### Is your feature request related to a problem? Please describe.
I am currently using system prompt variables like {{USER_NAME}} in Open WebUI. It works great for customizing conversations. However, I often find myself needing the logged-in user's email address in prompts for logging, personalization, or routing purposes.
### Describe the solution you'd like
I would like to request a new built-in system variable: {{USER_EMAIL}}, which would automatically provide the authenticated user's email address (when available).
This would work similarly to {{USER_NAME}}, and be extremely useful in:
- Multi-user environments
- Organizational deployments
- Email-based agent workflows
- Prompt templates that need email-specific logic
### Describe alternatives you've considered
Right now, the only alternative is to manually add the email address inside a custom prompt each time, which is not scalable.
### Additional context
Related discussions:
- USER_ROLE variable idea: https://github.com/open-webui/open-webui/issues/4764
- CHAT_ID variable suggestion: https://github.com/open-webui/open-webui/issues/14142
Thank you for considering this feature!
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @Giyeong-gian on GitHub (Jul 31, 2025).
Is your feature request related to a problem? Please describe.
I am currently using system prompt variables like {{USER_NAME}} in Open WebUI. It works great for customizing conversations. However, I often find myself needing the logged-in user's email address in prompts for logging, personalization, or routing purposes.
Describe the solution you'd like
I would like to request a new built-in system variable: {{USER_EMAIL}}, which would automatically provide the authenticated user's email address (when available).
This would work similarly to {{USER_NAME}}, and be extremely useful in:
Describe alternatives you've considered
Right now, the only alternative is to manually add the email address inside a custom prompt each time, which is not scalable.
Additional context
Related discussions:
Thank you for considering this feature!