Configuring Realm Email with Gmail (Less secure apps)

Hello everyone

I am trying to configure a realm email for password reset in keycloak.
The problem I am having is that I need to activate “less secure apps” on the corresponding gmail account.

This will be totally banned from Google in the near future and I could not find another way of configuring it.

Is there another way using Tokens instead of username and password?
If there is not, is this feature coming in the near future?

thanks!