The letter told Mr Erdogan not to be “a fool” by launching a military offensive in northern Syria.