For OS X, there is a beta version of an older free (donationware) plugin called Attachment Scanner Plugin for Mail.app that is compatible with OS X Lion and OS X Mountain Lion. It works similar to the one you have mentioned for Mozilla Thunderbird. Since OS X Mavericks was only recently released, you can test it to see if it works or contact the author.
On iOS though, there's nothing of this sort in the stock
Mail.app. Due to
application sandboxing, third party developers cannot develop plugins for any application (Apple's apps or otherwise). This can only be supported if Apple makes such a feature available in
Mail.app. I do not know if third party mail apps have such a feature.