I hope you are doing well. I am writing to [state the purpose of your email]. I would like to explain the situation and discuss a possible solution.
Avoid beginning every email with only "I am writing to...". Instead, vary your openings with expressions such as:
Using a variety of natural opening lines makes your writing more fluent and can help you achieve a higher CELPIP Writing score.