An author of books on Russia who spoke the language, she had no diplomatic experience but formed an unlikely bond with the president.