To my understanding, the temperature is a statistical quantity, as such, one would need a distribution of particles to talk about temperature. In this case, there exists an average thermal velocity is governed by the equipartition theorem, which states that in three dimensions, the energy is given by:
$$\frac{1}{2}mu^2=\frac{3}{2}k_BT$$
where, $v$ is the average velocity of the electrons at a particular temperature $T$, $m$ is the rest mass of the particle and $k_B$ is the Boltzmann constant. The temperature is hence
$$T=\frac{mu^2}{3k_B}[K]$$
Leaving this observation aside and since we are dealing with a relativistic electron, let’s assume that in the preceding equation we are going to use the relativistic kinetic energy, thus
$$(\gamma-1)mc^2=\frac{3}{2}k_BT$$
Solving for $k_BT$ we get:
$$k_BT=\frac{2}{3}(\gamma-1)mc^2[J]$$
If we multiply Eq. with an appropriate factor, we get the electron temperature in eV. I wrote a simple code estimating the electron temperature for various velocities, gradually approaching the speed of light. Des this analysis have any flaws? Did I assume something wrong here?