How do I write a professional customer letter?

I need to write a formal letter to a customer regarding a service issue. How should I structure the letter and what tone should I use to maintain professionalism?