With "mains" and "240V", I assume you are in the UK?
Plugs do not have to be earthed as long as there is "double insulation" throughout, that is two insulators between the customer and anything live ("hot" as it is called in America). That can be two layers of PVC on normal mains flex, or the...