Using internal user id of logged in users

it would be perfect, if we would use internal unique number of users as a “static” user_id.
Otherwise we need to use another table for user_id - email couples. User can change their emails, so we cannot use emails as pk of a user.