It is with great regret that I must confirm what you have probably already heard. The court case we discussed did not go on in my favor, and I have been convicted. Obviously, I must tender my resignation immediately.
I am sorry for any negative effect my actions may have had on XYZ Company. It was my great pleasure to work with you and the rest of the team.
I will soon be unreachable, but my family contact information is in my HR files, and my lawyer, Amos A. Attorney, can be reached at 555-555-5555.