Acesse a seguinte URL e autorize o acesso:
https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=207580543781-oun4gjb0qiiq0dks3i2tv2jf70p2lg9n.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Femail.inteligenciaiaartificial.com.br%2Foauth2callback.php&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fgmail.send&access_type=offline&prompt=consent