In a mixing bowl, beat together the butter, brown sugar, espresso powder, and vanilla until light and fluffy, about 3-5 minutes. Add the egg, mixing to combine. Then, add the maple and mix to combine. Add the flour, baking soda, salt, cinnamon, ginger, cardamom, nutmeg, all-spice, and pepper, beating until combined.