Preheat oven to 350 degrees and line 12 muffin tins with paper cupcake liners.
In a large mixing bowl, beat egg with a whisk. Slowly add sugar into egg as you continue to beat until well blended and pale yellow in colour.
Mix espresso powder with 3/4 cup hot water and stir until dissolved. Add espresso, oil and vanilla to egg mixture and mix well.
In a large bowl, whisk together cocoa powder, flour, baking powder and baking soda until well combined. Add to the coffee mixture and stir vigerously until well blended and smooth, about 3 mintues by hand or 2 minutes if using a hand mixer.
Fill each muffin tin 3/4 full. Bake at 350 degrees for 12-15 mintues, until a toothpick comes out clean. Allow to cool in pan for 10 mintues and then transfer to wire rack to cool completely.
Frosting
Combine espresso powder with 1 tablespoon of water stirring until dissolved. Set aside.
In the bowl of an electric mixer beat butter until light and fluffy, about 3 mintues. Add espresso. Alternate adding cocoa/confectioners sugar mixture and milk in a total of 5 additions. Starting and ending with cocoa mixture, mixing well between each addition. Continue beating for 2 mintues.
Transfer to a large piping bag fitted with 1M Wilton tip and swirl frosting onto each cupcake. Or spread frosting on generously with a knife.