Preheat your oven to 350°F (175°C) and line a muffin tin with cupcake liners.
In a bowl, whisk together the flour, ginger, cinnamon, cloves, nutmeg, baking soda, and salt.
In another bowl, beat the butter and brown sugar until light and fluffy. Add the molasses and egg, and beat until combined.
Gradually add the dry ingredients to the wet ingredients, alternating with the buttermilk, beginning and ending with the dry ingredients. Mix until just combined.
Divide the batter evenly among the cupcake liners, filling each about ⅔ full. Bake for 18-20 minutes, or until a toothpick inserted into the center comes out clean. Let cool completely.
For the frosting, beat the butter until creamy. Gradually add the powdered sugar, one cup at a time, beating well after each addition. Add the espresso and vanilla extract, and beat until smooth and fluffy.
Frost the cooled cupcakes with the espresso frosting and enjoy!