01 - Preheat oven to 350°F. Line two baking sheets with parchment paper.
02 - In a small bowl, combine ground flaxseed and water. Stir and set aside for 5 minutes to thicken.
03 - In a medium bowl, whisk together the flour, cocoa powder, baking powder, baking soda, salt, cinnamon, ginger, nutmeg, and cloves.
04 - In a large bowl, mix melted coconut oil and brown sugar until well combined. Add almond milk, prepared flax eggs, vanilla extract, and dissolved espresso. Mix until smooth.
05 - Gradually add dry ingredients to wet, mixing just until incorporated. Fold in chocolate chips and walnuts (if using).
06 - Scoop tablespoonfuls of dough onto prepared baking sheets, spacing 2 inches apart.
07 - Bake 11–13 minutes, until set at the edges but soft in the center.
08 - Cool on baking sheets for 5 minutes, then transfer to a wire rack to cool completely.