You would need to check the header of the email to check where it came from and do things like validate SPF and other security settings. mxtoolbox is a great place to check on domains and Talos is good to check on the server that sent the email.
Now, the most probable is the email was a validation link and Gmail thought it was a phishing email.