Apple provide guidance in the documents below but the key factors are … Apple will always address you by your name or the name they know you by and that email will always come from an address that ends ‘@apple.com’.
It goes without saying that the grammar and spelling is always correct.
Never click on any links in a pop up or an email you suspect.
These are the Apple documents.
What to do about phishing. https://support.apple.com/en-us/HT204759 … which also tells you where to forward the email.
How to identify scam mail https://support.apple.com/en-gb/HT201679
So; was the email addressed to you by your name or the name Apple know you by and was it from an address that ended '@apple.com.'
If not, it was a fake,