Of course plastic is safe. With a metal enclosure you have to make sure you have a good earth connection to the case with shake proof washers and the like. If this is going into production then there are standards to follow I have to admit I don't know, but there is no reason you can't have a plastic case for mains equipment. I would say the opposite in fact!
How do they get away with cheap "wall-warts"?