Comey either flipped for Trump, or is mind bogglingly retarded. He did one of the only two things that could have helped him win. Polls were down until Comey sent the letter about taking a second look at Hillary's emails. No one would dare doublecross Hillary like that unless they really didn't want her to win.
Trump knows optics. He stages these moments for a reason. Imagine what he wants everyone to know about his relationship with Comey.
Or… "We'll get you out of this."