UNRWA chief of staff leaves over 'unacceptable email'