Wash the herbs and shake dry. Pluck the thyme leaves from the stalks, except for something to garnish. Drain dried tomatoes and dice finely. Peel garlic and press it through a garlic press.
Mix the ricotta, diced tomatoes, thyme, garlic and 2 tablespoons of breadcrumbs. Season to taste with salt and pepper. Knead minced meat, egg and 4 tablespoons of breadcrumbs. Season with salt and pepper. Shape minced meat into 20 balls and fill with tomato-ricotta mixture.
Heat 2 tablespoons of oil in a frying pan. Fry the meatballs all around for 10-12 minutes. Meanwhile, prepare the noodles in boiling salted water according to the instructions on the packet. Pluck the oregano leaves from the stalks and chop them, except for something to garnish.
Peel and finely dice the onion. Remove the finished meatballs from the pan and keep warm. Sauté the onion cubes in the frying fat for about 2 minutes. Dust with flour. Add tomatoes, bring to the boil and season with salt, sugar and oregano.
Arrange spaghetti, meatballs and tomato sauce on plates. Garnish with thyme and oregano. Serve with parmesan.