Well you could take the obvious route and gut out a wall wart.
No where. But seriously don't go reinventing the wheel when it comes to ac. Also wasn't this a question if it can be done? Cuz it can
I assume you will also be measuring the current inductively to calculate usage?
Perhaps you could treat it like on of those cheap personal weather monitors. They often have just a long barrel jack cable running out a closed window. Plugged into the wall inside of course.