Start to Finish Time:
Heat oven to 350°. In the bowl of a standing mixer with paddle attachment, combine flour, sugar, baking powder, baking soda, and salt. Add butter, caraway seeds (if desired), and raisins. Combine just until incorporated. In a small bowl, whisk together buttermilk and egg. Add to dough and mix just until incorporated.
Turn dough onto a lightly floured work surface and fold it over onto itself two or three times, shaping it into a round, 8-inch loaf. Transfer loaf to a baking sheet lined with parchment or Silpat (a nonstick silicone baking mat). Score an “X” on the top of the dough. Bake 45 minutes, until well-browned and a toothpick plunged into the center emerges clean. Remove to a wire rack to cool completely before slicing. Serve with butter and your favorite jam or preserves.