Combine all ingredients in a large pot over medium low heat and let simmer for about 45 minutes, stirring occasionally, until all the ingredients cook down and become somewhat homogenous.
Remove the bay leaves and use a stick blender or transfer to a blender.
Blend until smooth and completely homogenous, and add salt to taste.
Transfer to a clean storage container (I haven't tried canning this, and I wouldn't recommend it because the other ingredients lower the safe levels of acidity in the tomatoes).
Store in the fridge once room temperature. Keeps for just over a week.