that is the only option to make gmail work with less secure devices. I had to do that myself we had vm to email but it stopped working then turned on 2 step auth and made the 16 digit app password started working again.