"ATP Scan In Progress" message on email attachment message

This is Microsoft Enhanced Threat Protection which is scanning the attachment for potential risks and the scan generally takes less than one minute to complete and runs when the email is first delivered so you should only see this message for the first minute after receiving an email.

Icon showing message what is happening