Dear Ms .......
I would like to sincerely apologise for my actions on [date]. I did not mean to cause offence (or upset anyone) and I regret that my actions had such an effect.
I apologise unreservedly and can assure you that nothing similar will happen again.
- For Teachers