I had not given much thought to the climate impact of passive gas leakage from appliances that aren't powered on. I've got a gas cooktop, gas furnace, gas clothes dryer and 2 gas-fired hot water heaters, all quite standard in this area. I don't have any sort of ventilation hood, which would probably benefit my indoor environment!
Any larger environmental benefits of switching to electric are certainly going to depend on the source of the electric power. In California, it's fairly clean. Not so much where it's generated by burning coal.
I was listening to a radio program on this issue yesterday. One of the callers pointed out that during our increasingly frequent, days-long public safety power shut-offs (to enable the power companies to avoid liability for wind-driven wildfires), she can still use her gas stove to cook and feed her family and asked when the electric utility would provide better stability. No one answered her question. Doesn't matter how clean the energy source is if it's unreliable.
Long term, I'd like to upgrade my electric service and rewire the house so I can switch to electric appliances, upgrade my rooftop solar to power them and add storage batteries to provide at least a moderate level of power during those shut-offs. That'll be $$$ and I'm not wild about the environmental impact of present-day batteries but hope by the time I've got the money, they'll be better.