Using classic Outlook for Windows in business environments
Hello DiNyh13601, thank you for reaching out to the Microsoft Community. I am here to help and provide assistance with any questions or concerns you may have.
The email you received sounds like a phishing attempt, and it's important that you do not click on any links or provide any personal information in response to it. Phishing emails are a common tactic used by cybercriminals to try to steal personal information, such as login credentials, by tricking people into providing it.
Regarding the automatic sync from Spain, it is likely that the attempted login was an automated script or a bot rather than a real person.
It is important to note that Microsoft have many security measures in place to protect your account, and one of those is detecting multiple failed log-in attempts, when it detects multiple failed attempts from different locations, it may flag it as an "unsuccessful sync" and block that IP, also it will send you notification, so in case if you didn't initiate the login attempt you can take action.
In order to protect your account, I would recommend you to change your password right away and make sure it is strong and unique. Also consider enabling two-factor authentication on your Microsoft account, which can help prevent unauthorized access even if your password is compromised.