Preheat the oven to 350 degrees Fahrenheit.
Mix the flaxseed with the almond milk and let sit for a couple minutes.
Add the sugar, oil, and extracts.
Mix in the flour, cornstarch, baking powder, xanthan gum, salt, and anise seeds. Fold in the almonds.
Place the dough on a parchment lined baking sheet. Shape into a 12 x 4 inch log.
Bake for 30 minutes. Let cool for 30 minutes and change the temperature to 375 degrees Fahrenheit.
Once the biscotti log has cooled, cut into 1/2 to 1 inch slices. Use a large knife and try and cut them in one motion - the dough will be very crumbly, so be careful!
Bake on the cut side for 8 minutes, then flip and bake for another 8 minutes.