If your account has been compromised and used to send spam emails, you may not be held liable. However, it's important to take steps to secure your account and prevent further spamming. This includes changing your password, enabling two-factor authentication, and running a virus scan on your computer.