Brew espresso into a large mug.
Add all ingredients (except the espresso) to a small saucepan over medium heat. Whisk well, until the cocoa powder is dissolved and the milk is hot (there's no need to boil it).
Use a handheld milk frother to froth the peppermint mocha mixture. Pour the peppermint mocha creamer into the brewed espresso.