Preheat oven to 350°F/175°C. Line a muffin pan with 12 cupcake liners and set aside.
Pour 3/4 cup of warm water or buttermilk into a large bowl. Mix in 1 1/2 tsp of coffee or espresso powder (optional) and stir until dissolved.
Add 1/3 cup of chocolate chips that have been melted and 1/3 of cup cocoa powder. Whisk together until the ingredients are fully combined.
Whisk 2 large eggs, 1/3 cup vegetable oil, 1 tsp vanilla extract, and 1 tsp vinegar into the cocoa mixture.
Sift the dry ingredients (3/4 cup flour, 3/4 cup sugar, 1/2 tsp baking soda, and 1/2 tsp salt) into the chocolate espresso mixture and whisk until just combined. The batter will be thin, but that’s how it’s supposed to be.
Fill cupcake liners 2/3 full and bake for about 17-19 minutes, or until a toothpick comes out with a few moist crumbs. Remove from the oven.
Let cupcakes cool in the pan for 10 minutes, then place them on a wire rack to finish cooling. If you're in a rush, place the whole pan in the freezer for 15 minutes to accelerate the cooling process.