Outlook also does the same. It's just a simple 'if - else' code. If the email contains the words 'attached' or 'file attached' but has no attachment it will show pop-up.
Even in emails where I am replying to an email with attachment, it asks because it doesn't know that I'm referring to the...