Preheat your oven to 350°F (175°C). Line an 8x8 inch baking pan with parchment paper.
In a large bowl, whisk together almond flour, baking powder, sea salt, and garlic powder.
Add eggs and melted butter (or olive oil) to the dry ingredients. Mix until smooth and slightly thick.
Stir in Italian seasoning and shredded mozzarella if using.
Pour the batter into the prepared pan and spread it evenly.
Top with rosemary and a sprinkle of flaky salt.
Bake for 25 minutes or until the top is golden brown and a toothpick comes out clean.
Let it cool for 10 minutes before slicing. Try not to eat the whole thing in one go!