It's fairly common for a defendant to be required to write a letter of apology to the victim of a crime. Usually, this is done as a part of probation, and that department vets the letter to make sure it's heart-felt (or at least vaguely sincere).
I've actually read a few very moving letters of apology and, believe it or not, they can mean a lot to the victim.
Still, a good thing they are vetted before being passed on, you know, in case some jackass burglar writes things like:
"Basically it was your fault anyway" ... "your dumb" ... "your thick enough to leave your downstairs kitchen window open" ... "I don't feel sorry for you" etc etc.
Charming young lad, I'm sure. Read his letter of "apology" yourself.