In a large mixing bowl, sift the cake mix to enhance the cake’s texture. Follow the package instructions to add water, eggs, and oil.
Incorporate the vanilla, almond extract, flour, and mayonnaise into the mixture. Using a mixer on medium speed, blend all ingredients together for approximately 2 minutes, ensuring a smooth, well-combined batter.
If you have extra batter, cover and store it in the refrigerator for up to one day.
Grease and flour two 8-inch round cake pans. Pour the prepared batter evenly into the pans. Bake for 25-30 minutes, or until a toothpick inserted in the center of each cake layer comes out clean or with a few moist crumbs attached.
For cupcakes, fill the liners and bake at 350°F for 18-20 minutes, using the same toothpick test to check for doneness.