Suppose that when submitting a paper to a journal I made a mistake that resulted in some rule violation. No one detected this rule violation until the decision was announced. Once the decision was announced, the associate editor sent me an email to warn me for future submission.
I would like to reply to him/her. What should I write? An apology? A thanking?