No president that I know of, but an important American, nonetheless.
Benjamin Franklin wrote an essay about farts called "To the Royal Academy of *****", which is written like a legal proposal to insist that farts be made to smell better.
Many of his humorous writings are collected in the book Fart Proudly, which is in print and readily available.
Lee Kuan Yew
Barack Obama wrote the book ''Dreams from my Father.'' It was published in 1995 before he became president of the United States.
Former president Jimmy Carter wrote the book "An Hour Before Daylight: Memories of a Rural Boyhood". It is a memoir that describes his childhood growing up on a farm in Georgia during the Great Depression.
Ken Dryden
Moments of Truth by Jan Carlzon.
Dwight D. Eisenhower wrote Crusade in Europe
Robert Aura Smith wrote the book India Divided.
H. Hoover
Atal Bihari Vajpayee Former Prime Minister of India.
Barbara Bush, the wife of George H.W. Bush wrote the children's book Millie.
Reagan was out of office when the cold war ended in 1989. As a former president he wrote a book, paid visits to other former leaders, and fought Alzheimer's. He died of the disease not remembering who he was or what he had done in his life. To answer your question he really didn't work with anyone.
John F. Kennedy