A woman who took her own life was not given the support she needed before she died, a coroner has ruled.