Preheat oven to 350F. Combine the eggs, mayonnaise, and vanilla extract in a medium-sized bowl.
The batter should be really smooth, so use a hand mixer if needed. Set the bowl aside once done mixing.
In a separate bowl, combine the almond flour, erythritol, salt, and baking powder.
Slowly add the batter to the dry ingredients, whisking until smooth.
The mixture might seem a little dry, but this is normal.
Spoon out the desired number of servings into a greased cupcake tray.
Bake for 20–25 minutes or until lightly browned on top. Mix together the frosting ingredients while baking and frost the cupcakes after they have cooled. Enjoy!