You may eat spicy food while you are pregnant. But it is safe not to have homemade spicy mayo during pregnancy. As the homemade mayo contains raw or undercooked eggs, it can have an adverse effect. On the contrary, the commercial mayo has pasteurized eggs, making it a consumable product during pregnancy as well.