In a bitterly worded letter , the Israeli ambassador to the United States on Friday accused the Council on Foreign Relations of making a '' terrible mistake '' by inviting President Mahmoud Ahmadinejad of Iran to a meeting with the group earlier this week . ''