For dough: Beat the butter, sugars, and salt until fluffy. Add the egg and vanilla, and mix well. Stir in the flour until well blended, then refrigerate the dough for 30 minutes or longer.
Shaping: Place a rounded teaspoon of dough (about 1/2 oz.)into each ungreased mini-muffin cup. With floured fingers or a tart tamper, press the dough up the sides of the cups to form the floor and walls of the crust. Place the crusts in the refrigerator to chill while preparing the filling.
Filling: Crumble the almond paste into a small bowl. Blend in the sugar, salt and extract(s). Add one egg at a time to the almond paste, mixing well after each addition until there are no lumps.
Assembly and Baking: Preheat oven to 350 degrees F. Place a slightly rounded 1/4 teaspoon of the raspberry jam into each dough-filled cup. Top with almond filling. The almond filling should come to the top of the dough. Bake the tarts for 24 to 28 minutes, until they're puffed and golden brown. Allow the tarts to cool in the pan for about 10 minutes before turning them out to cool completely. While they cool, make the glaze.
Glaze: In a small bowl, mix the confectioners' sugar with the water until dissolved. Add the food coloring, if you're using it. Drizzle the glaze over the tarts. The tarts store well for 3 - 4 days in airtight containers; freeze them for longer storage.