First, you have to identify emails from the App Store and problem emails from fake senders attempting to gain access to your account. Basically, Apple will never ask for personal information or account information. They don't have to and never did without directing you to a real Apple website. Apple would never send you an email with a link that does not bring you to the real Apple websites.
If you do receive one of these scam emails, be sure to report it to Apple here: [email protected]. For more info on protecting yourself from these kinds of phishing scams, check out this article from Apple.
These scam can be tricky to spot sometimes because of the great lengths scammers and "phishers" go to in hopes of gaining information about you. For the most part, anything needing to be done concerning your account can be done in the iTunes application. Here is how to block them from your email account:
- Install Block Sender for Gmail by clicking the “Install” button found in the upper right-hand corner of this site. The installation won’t take long. Open Gmail when it is done.
- After signing up for a Block Sender account and linking your Gmail account to Block Sender, open the unwanted scam email, and click the "Block" button on the messages toolbar.
- Select the "Emails from this sender" option.
If you're certain that the website that sent you this email is all one big scam, then it might be best to just block the entire domain to avoid getting any more emails from any sender on that site.