@donaldbathe - The short answer is: You cannot. The power socket for your electric shaver is not a mirror issue. I suggest you look for a local home electrician who can install a properly grounded outlet below your bathroom mirror. Rates vary, so be sure to shop around.
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
D