Preheat your oven to 350F and line a loaf pan with parchment paper.
If you have small zucchini, shred them zucchini and wrap them in a few layers of cheesecloth, paper towels or a clean kitchen towel. Wring out the excess liquid, then set the zucchini aside. If you have large zucchini, cut them in quarters and remove the seedy center before shredding and wringing out the excess liquid.
Add the eggs, maple syrup, molasses, vanilla and butter/coconut oil to a food processor.
Add all dry ingredients (almond flour, oats, baking powder, salt) except the nuts (if using) to the food processor. If you're making the spiced version, this is the step you'll want to add the optional spices in, too.
Blend the ingredients for about 30-45 seconds. The batter should be a runny liquid when you're ready to move to the next step.
Spread an even layer of the zucchini over the batter and pulse a few times until everything is combined.
If you’re adding nuts, remove the food processor container from the base, sprinkle them over the batter, and mix them in with a silicone spatula.
Pour the batter into the prepared loaf pan.
Bake for 50-60 minutes, or until a toothpick comes out clean. Allow to cool for at least 20 minutes before serving.