Preheat your oven to 350°F (175°C) and bring a kettle of water to a boil.
In a small bowl, whisk together the melted butter, beaten egg, heavy cream, cocoa powder, and sweetener until completely smooth and combined.
Stir in the optional salt and flavor extracts, if using.
Pour the mixture into a lightly greased 4-ounce ramekin or custard dish.
Place the ramekin inside a larger, shallow baking pan (a loaf pan or small casserole dish works well).
Carefully pour the boiling water into the larger pan, creating a water bath. The water should come about halfway up the sides of the ramekin.
Gently place the entire setup into the preheated oven and bake for 20-25 minutes.
To check for doneness, gently shake the pan. The custard is ready when the edges are set but the center still has a slight jiggle. Avoid overbaking.
Carefully remove the pan from the oven.
Let the custard cool in the water bath for 10-15 minutes before serving warm, or remove and chill in the refrigerator for at least 2 hours for a firmer set.
Don't be afraid of the jiggle. The custard will continue to set from residual heat as it cools. Overbaking is the number one cause of a rubbery texture.