In January 1917, Germany sent an encrypted telegram (not a letter) to Mexico proposing an alliance if the US entered WWI. Germany promised to help Mexico recover Texas, New Mexico, and Arizona lost in the Mexican-American War. British intelligence intercepted and revealed it, helping draw the US into the war.