The aspiring writer’s book turned out to be a bestseller, thanks to a steamy encounter