Visual Studio Code Doctype Html

Had to change gmail password because I got hacked. Now when I try to check email on MacBook Pro using mail icon, I cannot receive or send any messages. Keep getting SMTP server "smtp.gmail.com" rejected password. Can anyone please help?:-)