Microsoft wins landmark appeal over seizure of foreign emails