You know, it actually is very close depending on your source of electricity for charging. In states with coal being the predominant source of electricity, even with manufacturing emissions equal, a Tesla can easily be dirtier than many gas powered vehicles in not only CO2, but other pollutants as well.
Now if you live in the north west where hydro is the predominant source of energy, then it's a no-brainer over the expected lifetime of the vehicle, but still, the big, heavy Model S represents a very large sunk cost of emissions that takes quite a few miles driven to make up for depending on where the energy used to manufacturer the vehicle comes from.