Salt the eggplant cubes and leave them in a colander for 15 minutes. Pat them dry with a clean towel.
Heat 2 tablespoons olive oil in a large wide pan over medium high heat. Brown the eggplant in batches until golden, about 5 minutes per batch. Remove and set aside.
Add another tablespoon of oil and brown the zucchini for 4 minutes. Remove and set aside.
Lower the heat to medium. Add the remaining oil, onion and peppers. Cook for 8 minutes until soft.
Add the garlic and tomato paste. Cook for 1 minute until fragrant.
Add the tomatoes, herbes de Provence, bay leaf, sugar, salt and pepper. Simmer for 10 minutes.
Return the eggplant and zucchini to the pan. Stir gently, cover partially, and simmer on low for 25 to 30 minutes until everything is tender but still holds its shape.
Remove the bay leaf. Stir in the basil and thyme. Taste and adjust the seasoning.
Rest for 10 minutes before serving warm or at room temperature.