External SMTP relay server for the domain

I am posting an update that worked for me for others who are considering a solution.

I managed to set up outgoing emails with G Suite legacy free edition using the following article and Configure SMTP relay | Yunohost Documentation and enabling ‘less secure apps’. I used normal Gmail SMTP server settings.