Keep your letter short. Your friend is likely feeling overwhelmed, so a short letter will be easier for them to read. Second, express your condolences and sympathy. You might share a memory of the person who died, or talk about how much you enjoyed spending time with them. Third, offer your support. Let your friend know that you are there for them if they need anything.