King Gyanendra was scheduled to attend the United Nations session but sent his foreign minister instead , as the heads of Nepal 's embittered parties sent a stinging letter to the secretary general , Kofi Annan . ''