In a bowl, whisk the flour and salt. Set aside.
With an electric mixer or in a stand mixer, cream the softened butter with the granulated sugar on high speed for 2 minutes until creamy and fluffy. Lower to medium speed and mix in the almond extract and vanilla extract. Lower to medium low speed and gradually add the flour. Once incorporated, increase speed back to medium and mix until evenly combined and a smooth dough forms. At first, it may look crumbly but it will come together as you keep mixing.
Wrap the dough with plastic wrap. Chill for 4 hours or overnight. Tip: flatten the dough to form a disk so you don’t have a big block of dough.
After the dough has chilled, preheat the oven to 350 degrees F. Line 2 baking sheets with parchment paper.
Remove the dough from the fridge. Let it sit on the counter for 20 minutes if it’s too stiff.
Make 1 tablespoon balls of dough with your hands. Make sure you work fast because the dough needs to stay cold. They should be smooth and round. Tip: if you think the dough balls are getting too soft, refrigerate them for 15-30 minutes.
Press down each ball of dough with your thumb or a measuring spoon. They may crack around the edges, and that's okay - just use your fingers to bring the dough back together. Fill each indentation with about ½ teaspoon of raspberry jam. Arrange the cookies on the prepared baking sheets, about 2 to 3 inches apart. Note: You may need to do multiple batches – just refrigerate the dough until ready to bake the next batch.
Bake each batch for 13 to 15 minutes until the bottom is slightly browned. Once ready, remove from the oven and, after about 10 minutes, transfer them to a cooking rack to cool completely. Enjoy!