To scan an email attachment on a Windows 10 computer, download the file, but don't open it. Then right-click the file and select Scan with Microsoft Defender. When the scan is complete, you will see the results at the top of the Settings window.