If I have a user's email address, how can I get the actual user? I seem to remember a function that could accomplish this but can't find it now.
Discussion posts and replies are publicly visible
, You can use the Personalization Utilities shared component to search users by properties.
Under this component please use the usersearch() to get user by email address.
Code snippet
usersearch( property:{"email"}, operator:{1}, value:{"<email id to search>"} )
Hope it will help you..!