In a blender, mix egg, mustard, salt, and sugar. Slowly drizzle in oil while blender is running. Add lemon juice. Season with black pepper. Refrigerate in a jar.