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
H. Hoover
The book "India Divided" was written by Rajendra Prasad. He was the first President of India and wrote the book to reflect on the partition of India in 1947.
Atal Bihari Vajpayee Former Prime Minister of India.
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.
Barbara Bush, the wife of George H.W. Bush wrote the children's book Millie.
Dwight D. Eisenhower