Slightly off topic: Almost all of the energy consumed by a natgas water heater goes to actually heating the water. Ever notice that virtually all gas appliances have spark igniters now - except water heaters? It's because even the pilot flame helps keep the water warm, unlike virtually all other pilot flames where their heat is basically 100% waste.
Every appliance in my house that can be natgas fired IS natgas fired. My electrical power goes out many times a year, but I literally cannot remember a natgas "outage" in my entire lifetime and I've lived in four states, multiple homes in each, in widely varying climates. That's decades of uninterrupted natgas service. Put as much on natgas as possible, switch to LED bulbs, and you can run your entire house on a relatively small generator when the power goes out. All-electric homes cannot do that because there's several kilowatts in the water heater... several more in the oven and cooktop... several more in the furnace or baseboards... etc.
Maybe you're using an electric water heater because you don't have an option. But if you DO have an option, gas (natural or propane) is the way to go. You'll have hot water no matter what the electric company does.
EDIT: Being completely objective, one downside to gas water heaters is their thermal hysteresis. The water temperature can vary by 10-20 degrees as a consequence of the design of the thermocouple+valve design that doesn't require external power. Thus I try to take my shower after someone else does, so the water heater has kicked on and is headed for the top of its hysteresis range.

I don't know if electric water heaters have tighter temperature regulation, or if there's anything but bang-bang style controls on their heating elements. I haven't been able to find an off-the-shelf cooking oven with linear control of its heating elements so I doubt water heaters are any better.
Sorry for the distraction, just a "favorite cause" of mine. We return you to our regularly scheduled programming....
