Prepare a large bowl of ice water. Immerse whole tomatoes in boiling water until the skin begins to peel, about 8 minutes.
Remove with a spoon and place in an ice bath. Let sit until cool enough to handle, then remove skin.
In a large saucepan over medium heat, cook the onion in the oil until the onion begins to soften, about 5 minutes. Add the garlic at the last minute so it doesn't burn
Pour in the tomatoes. Stir in the basil, wine, sugar, salt and pepper. Bring to a boil, then lower the heat to low, simmer for 2 hours.
At the end you can use the hand mixer to make it smoother as you want