Mark Zuckerberg sent a formal email to his staff ahead of the layoffs, addressing it and thanking those who have been sacked for their work.