Email error SMTP Requires a secure connection

You can either turn on “Less Secure Apps” setting in your google account or use app specific password.

Both methods are covered here