These oatmeal cookies, baked just until set, are soft and tender. The cream filling can also be used with gingersnap cookies, or use it to frost cupcakes.
Preheat oven to 350 degrees, with racks in upper and lower thirds. In a large bowl, whisk together flour, salt, baking powder, baking soda, and cinnamon. In another large bowl, using an electric mixer, beat butter, brown and granulated sugars, and molasses on high, scraping down bowl, until light and fluffy, 4 minutes. Add vanilla; beat until combined. Beat in eggs, one at a time, scraping down bowl after each addition.
With mixer on low, add flour mixture and beat just until combined. With a rubber spatula, stir in oats and raisins. Drop dough in 2-tablespoonful mounds, 2 inches apart, onto two baking sheets. Bake until cookies are just set at edges and slightly soft in middle, about 11 minutes, rotating sheets halfway through. Let cookies cool on sheets, 5 minutes. Transfer to wire racks and let cool completely.
In a medium bowl, using mixer, beat cream cheese and confectioners' sugar until light, 2 minutes, scraping down bowl as needed. Spread filling on flat side of half the cookies. Sandwich with remaining cookies.
A small offset spatula is just right for spreading filling on sandwich cookies, or use a butter knife instead. Refrigerate cookies in an airtight container, up to 5 days.