The aspiring writer's book turned out to be a bestseller, but only after a steamy encounter