I love that people are still touting the 'carbon output is the same over the life of the vehicle' trope.
No, it isnt.
Based on UK energy mix 8,000mi per annum, an average BEV (350w/mi) uses 80% of the carbon per mile as a similar diesel car over its lifetime.
That figure gets even lower the more miles you do, as quite rightly pointed out, but often overstated, the carbon output is concentrated in the manufacture. And the figure gets even better the more energy is produced from renewables.
If you look at the figures for a tesla model 3, which is currently the most efficient BEV, it can get to 220w/mi energy use which with a decent annual mileage can bring it to 20% of the carbon output.
The battery lifespan problems are also overstated, Tesla again warranty all of their batteries to maintain 70% of their capacity for 150,000 miles, at which point they get converted into powerwalls for renewable energy storage.