There are several issues here. It's hard to say which is worse, the receptacle fed by a 40 amp circuit or the neutral bonded to ground.
This is a prime example of why mechanical contractors are not allowed to do el. service upgrades. Unless it is part of a cable, wire smaller than #4 shall no be re- identified. Green wire shall never be re-identified.