asEmailOrNull

Casts this UserIdentifier as a Email and retrieves its kotlin.String value. Returns null if the UserIdentifier is not a Email.