Teams doesn't even do copy paste or open Microsoft based formats in under 10 seconds (IME)... I rest my case.
A spam filter based on regex or manually-selected criteria and thresholds would not be ML for instance, whereas modern effective spam filters typically do make use of machine learning.