Why smtp of wordpress giving me different errors?

I have an issue with the Google platform. I made a project but I didn’t write down the secret key and I realized I needed it after when I connected it to my website in wordpress.

So I deleted OAuth 2.0 client ID in project 1. I made another project and I copied the secret key and pasted it directly on wordpress. but when trying to connect my email through 'wp mail smtp' it keeps sending me an error message with 401.

[401: deleted_client / The OAuth client was deleted.]

also keep showing me this error code.

EMAIL DELIVERY ERROR: the plugin WP Mail SMTP v2.8.0 logged this error during the last time it tried to send an email:

Mailer: Gmail

{
"error": {
"code": 401,
"message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
"errors": [
{
"message": "Login Required.",
"domain": "global",
"reason": "required",
"location": "Authorization",
"locationType": "header"
}
],
"status": "UNAUTHENTICATED"
}
}

Consider running an email test after fixing it.

also tried connect to g-mail but it also didn't let me with this comment.

'could not create vlog table CREATE TABLE vlog ( id BIGINT PRIMARY KEY AUTO_INCREMENT, user char(32), passwd CHAR(32), domain CHAR(64), logon VARCHAR(200), remoteip char(18), message VARCHAR(255), timestamp bigint default 0 NOT NULL, error INT, INDEX user_idx (user), INDEX domain_idx (domain), INDEX remoteip_idx (remoteip), INDEX error_idx (error), INDEX message_idx (message) )'

I think both are same problem, I tried many thing to fix what i can, nothing works for it.. Please help me. Thank you.