Government emails show USCIS was caught off guard and unprepared by the Muslim Ban