What you really want is an electric box extender. This will ensure the outlet and all wires are tightly enclosed and the outlet will be secure. They are available at any hardware store, but if ou want to see what they look like, and how they are installed, take a look at:
http://www.receptxtenders.com/