Preheat oven to 400 degrees. Heat 1 tablespoon oil in a large skillet over medium heat. Cook onion until translucent, about 4 minutes. Add beef, cayenne, cinnamon, and lemon juice; season with salt and pepper. Cook, stirring, until beef is browned, about 10 minutes. Add almonds and parsley; cook 3 minutes more. Let cool slightly.Advertisement
In a bowl, season eggs with salt and pepper; add milk, and whisk to combine. Fold into beef mixture.
Lay 1 phyllo sheet on a clean work surface. Brush lightly with oil; lay another sheet on top, staggering corners. Repeat with remaining phyllo sheets and oil, rotating sheets slightly each time. Gently place dough in an 8-inch pie plate; fill with mixture. Fold edges over top. Brush with oil. Bake until golden brown and filling is set, 20 to 25 minutes. Dust top with sugar and cinnamon. Serve hot, sliced into wedges.
Ground lamb or chicken also work well, and pine nuts can replace the almonds.