Preheat oven to 350 and grease two loaf pans.
In small bowl, combine flour, cinnamon, soda, baking powder, & salt.
In a large mixing bowl, mix together oil, both sugars, eggs, vanilla & apples.
Gradually stir in flour mixture. Add walnuts if desired and mix together.
Pour into two greased large loaf pans and bake at 350 for 40 to 45 minutes or until breads done.