Preheat the oven to 325°F, line the bottom of three 8" cake pan with parchment paper.
In a medium bowl, sift the flour, cocoa powder, baking soda, and baking powder.
Using a stand mixer fitted with whisk attachment place the eggs, sugar and vanilla, whisk for 1 minute at low speed to combine. Increase the speed to medium-low for about 5minutes until the mixture is thick and pale yellow. Scrape the side to the bottom and increase the speed to medium-high, whisk for 5 minutes until the mixture has thickened or when the mixture forms a slowly dissolving ribbon when you lift the whisk.
Add the mayonnaise and whip to combine. Fold in the dry ingredients and the coffee in two addition each.
Pour the batter into the prepared pan, and using an offset spatula, spread it to an even layer. Bake for 10-15 minutes or if you insert a skewer in the middle and will come out clean when you pull it out. Set in a cooling rack and cool completely