Preheat the oven to 425ºF (220ºC). Butter a loaf pan, line it with parchment paper, then butter the parchment paper.
Sift together the flour, baking powder, and salt into a small bowl. Stir in the black pepper. (If you’re adding chile powder, add that here as well.)
In the bowl of a stand mixer, or by hand, whisk the eggs until frothy (about a minute) then stir in the dry ingredients. Mix in the melted butter until thoroughly blended, then fold in the apricots, cheese, fennel seeds, lemon zest, and almonds.
Scrape the batter into the prepared pan and bake for 40 to 45 minutes, or until a knife inserted into the center comes out clean.
Remove the cake from the oven and let it sit for about five minutes, then tip it out onto a cooling rack. Wait a few more minutes, then remove the parchment paper and let cool completely before serving.