A mother with an undiagnosed heart condition has died suddenly weeks after giving birth to her third child.