Get the userId integer of user with a known email address.
integer
security.getUserId(email)
email
let userId = security.getUserId("jane.doe@example.com"); // 1234