mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[GH-ISSUE #16165] Add support for {{USER_EMAIL}} system prompt variable #56477
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Giyeong-gian on GitHub (Jul 31, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16165
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!