I’m sending this email to my high school senior English teacher someone make it “proper” please

“Dear Mrs (teacher last name), this is (my first and last name) reaching out regarding me walking out of class this afternoon. I would just like to make it clear I would never wish to disrespect you or your classroom and that I would have never walked out of your class like that if not for the circumstances faced in that moment. I was confronted with a family emergency that required me to leave right that moment so I tried to get out while interrupting your teaching as little as possible, I apologize for the unjust way of exiting your classroom and I look forward to my future in your class while I hope this does not effect it. Sincerely (my name)