Forgot-password --- No email received (Strapi V4)

Hi Paul,

I have installed the email provider below in my Nextjs project
@strapi/provider-email-nodemailer”: “^4.16.2”

And using a gmail which set as a smtp to send email. It is tested working with the details in the frontend pages.

But the issue is it is still not able to send any test mail from the Strapi admin panel. It will always show the error of “Failed to send test mail …”.
Is there anything I have missed out to configure that caused the error?

.env
.env

config/plugins.js

test mail

error
email error