Nick here from Shopify.
Great question. This is something which is best dealt with via an app within Shopify. There are a few different app options out there for this. Let's take a look at them below:
Shopify also has a document with some information on Phishing/ protecting your account which isn't exactly about Spam emails but worth the read and to have. You can see it by clicking here.
All the best, Nick