A solution to receive verification codes while you are away from home.
Install the app on a phone that will be left at home & can receive SMS
Launch the app and fill in the settings.
Click SAVE
to kick off
Currently, the app won't ask for it, while the user must change the setting manually.
The email that is filled in is both for the sender and the receiver. By default, the email using TLS to send emails so must use TLS port.
turned off 2-way authentication of google account allow access for less secure apps
see https://stackoverflow.com/questions/18778240/solve-error-javax-mail-authenticationfailedexception