Im creating a email system and discovered that I need to turn on access from less secure apps.
Ive heard that this can be dangerous to turn on and was wondering if there was a way to connect without turning it on?
Nope, no way to use smtp without enabling less secure apps. Gmail sends you an alert every time there is a new login, including on less secure apps, so as long as you monitor that there's really no need to worry.
Workaround for "access from less secure apps"