The argument of the exponential E/kT needs to be dimensionless. If E and T are not homogeneous you will still need a k to “cancel” the units.