Botulism actually isn't that likely with homemade mayo because the acid from the lemon or vinegar you use lowers the pH and botulism doesn't like that environment, but you're right that raw egg is still a risk. What nobody mentioned is that it really depends on how you store it: if you leave it in an open container or one that breathes, it gets contaminated faster than if you put it in an airtight one. I'd say with a tight lid and a stable fridge you can easily make it to five or six days, but if you notice it looks off, smells different, or has a dull color, don't use it; it's better to make it fresh when you need it instead of keeping it around for weeks.