Baked Corn Pudding

Heat the oven to 375 degrees. Butter a medium ovenproof casserole dish. Set aside.
Combine the milk and cornmeal in a medium saucepan and place over medium-high heat. Bring to a boil, whisking rapidly and constantly, until very, very thick, about 5 minutes.
Transfer the mixture to a large bowl. Add the corn kernels, herbs and the 2 tablespoons melted butter. Season with salt and pepper. Add the egg yolks, one at a time, stirring after each addition.
In a separate bowl, using a handheld mixer, beat the egg whites with a pinch of salt on high speed until stiff peaks form. Gently fold the egg whites into the warm cornmeal mixture.
Transfer the lightened cornmeal mixture to the prepared dish; smooth the surface with a spatula. Bake until puffed and golden-brown on top and the inside is firm but still moist, 20 to 35 minutes. Serve immediately.