Mishap, it's good to hear your daughter is benefiting from treatment and also that she's being more open with you about her difficulties. I agree, parenting is something of a minefield - I think it's probably the most demanding 'job' any of us ever do.
It's no surprise to read that anxiety and depression run in your husband's family, given what you say about your daughter and now one of her own children. It's a puzzle that generally, society seems to accept that physical characteristics run in families, but to seek to blame parents when children experience mental health problems. I am not minimising the impact of childhood experience on the way children develop by the way folks 