Owncloud servidor smtp google

I try to configure google smtp to send notifications of owncloud.
When I put in settings the smtp configuration of google do not arrive the mails.
How should I configure the google smtp correctly? So that I get the email notifications to my account.

Intento configurar el smtp de google para enviar las notificaciones de owncloud.
Cuando pongo en ajustes la configuracion smtp de google no llegan los correos.
Como deveria configurara correctamete el smtp de google. para que me lleguen las notificaciones de correo a mi cuenta.

Did you had a look at [1] giving quite a lot pointers and examples how to configure this as well as debugging steps.

[1] https://doc.owncloud.org/server/latest/admin_manual/configuration_server/email_configuration.html