Emails between Facebook employees from 2015 illustrate early actions the company took to investigate third-party use of data.