Helping friend through stillbirth

An anonymous writer emailed me that she and her friend had children at the same time. Then it took both of them a lot of time and heartbreak through secondary infertility. The writer had a baby last year. The friend was finally pregnant again, but lost the baby in the middle of the third trimester.

The friend is in a different city right now, and the anonymous writer is feeling so sad and powerless to help. And worried that the friend will be hurt by the presence of her baby. Anonymous says:

" I yearn to do something for her, to help her in I some way.  My thoughts are consumed with sadness for her, for her baby, for the babies I lost too.  Advice on how I can help?  How do we help someone grieve?  Can we?  I've experienced two miscarriages and they were devastating so I cannot imagine what she is going through right now.  Do you have experience in this?  Or your readers?"

I think the best thing to do is to text and call and send cards of love. But I don't know of anything else specific that will help, since they're not in the same place and she can't just go sit there with her while she cries.

Has anyone been through late pregnancy loss or stillbirth? What would have helped you?