Skicka posten per e-post: Model nebulae and determination of the chemical composition of the Magellanic Clouds