Heat the oven to 425°F (220°C) and grease a 9-inch pie dish. Pat the peels very dry, chop roughly, and toss with the melted butter, flour, egg white and salt.
Press the peel mixture firmly over the bottom and sides of the dish. Bake 20 to 25 minutes until golden and crisp at the edges.
Meanwhile, cover the potato chunks with cold salted water, bring to a boil and simmer 15 to 18 minutes until tender.
Cook the onion in 1 tablespoon butter over medium-low heat 10 to 12 minutes until soft and lightly golden.
Drain the potatoes, let them steam dry 2 minutes, and mash with the remaining butter and warm milk. Stir in the onion, most of the cheese and the beet if using. Season well.
Reduce the oven to 400°F (200°C). Spoon the mash into the crust, rough up the top with a fork and sprinkle with the remaining cheese.
Bake 20 to 25 minutes until golden on top. Rest 10 minutes before slicing.