WEBVTT

00:01.200 --> 00:05.360
All right, so quick update on the latest version of the Google Cloud Console.

00:05.360 --> 00:07.720
We need to go ahead and make one additional change.

00:07.720 --> 00:15.160
So after creating your Oauth2 client go ahead and look up the Gmail service inside of the top bar here.

00:15.320 --> 00:23.000
And then click on Gmail API and then click on enable to enable the Gmail API here and give it a second

00:23.000 --> 00:24.240
to become enabled.

00:25.080 --> 00:30.200
So once enabled, we should go back to the route and then click on APIs and services again.

00:30.360 --> 00:32.960
And then again click on OAuth Consent screen.

00:33.360 --> 00:36.560
And then from here we want to click on this data access button.

00:37.080 --> 00:40.320
So now we have to click on Add or Remove scopes.

00:40.320 --> 00:46.080
And we need to add all of the Gmail scopes in order for our node mailer integration to work properly.

00:46.480 --> 00:48.920
So go ahead and filter here by Gmail.

00:49.120 --> 00:52.160
Make sure you set rows per page to 20.

00:52.360 --> 00:57.560
So you can then select all of these Gmail scopes and then click on update.

00:57.880 --> 01:00.080
So now we have all of these scopes added.

01:00.080 --> 01:01.960
Make sure you click on save.

01:02.520 --> 01:08.800
And after this is complete we now have all the necessary scopes we need for our Oauth2 client here to

01:08.840 --> 01:10.040
work successfully.

01:10.320 --> 01:13.840
So let's go ahead and continue on in the next lecture.
