In a large saucepan, melt the butter, and then stir in the sugar, cooking until the mixture is smooth and shiny. Remove from the heat and stir in the cocoa, salt, baking powder, espresso powder, and vanilla. Whisk in the eggs, then the flour, stirring until smooth.