What to write
Avoid promising that everything will be fine; you do not know that, and they know you do not. Replace "let me know if you need anything" with a concrete offer they can accept without effort. If the recovery is long or uncertain, say you are there for the long version.