Express your regret and ask for forgiveness in a sincere and personalized way
"Dear [name],
I am writing this letter to ask for your forgiveness. I know I hurt you and I am very sorry. I acknowledge that I was wrong and I take responsibility for my actions..."