This is incredibly sad.

Should the President write letters of condolence to family members?

I would. The letters are for the living, not the deceased.