Congrats to both of you - John Nicolay is the correct answer. And, although Hay did not write this particular letter, he agreed with Nicolay. As far as I know there is no direct evidence that Lincoln played a role in dumping Hamlin and replacing him with Johnson. Apparently Hamlin showed no outward signs of being upset as he campaigned for the Lincoln/Johnson ticket in the fall.