Fixing mail files