Complete the steps described in the rest of this page to create a simpleGoogle Apps Script that makes requests to the Gmail API.
- Batch Gmail Account Creator Download
- Batch Gmail Account Creator Login
- Mass Gmail Account Creator Free
Prerequisites
Download the template file: Sign in to your Google Admin console. Sign in using your administrator. Mass Gmail Account Creator free download - Mass Downloader, The Creator, DeskPDF Creator, and many more programs.
To run this quickstart, you need the following prerequisites:
Step 1: Create the script
- Create a new script by going to script.google.com/create.
- Replace the contents of the script editor with the following code:
New editor
- Click Save .
- Click Untitled project at the top left, type Quickstart, and click Rename.
Legacy editor
- Click File > Save,name your project “Quickstart”, and click OK.
Step 2: Turn on the Gmail API
Enable the Gmail API advanced service in your script.
Step 3: Run the sample
New editor
In the Apps Script editor, click Run.
The first time you run the sample, it will prompt you to authorize access:
- Click Review permissions.
- Choose an account.
- Click Allow.
The script's execution log appears at the bottom of the window.
Legacy editor
In the Apps Script editor, click Run >listLabels.
The first time you run the sample, it will prompt you to authorize access:
- Click the Continue button.
- Click the Accept button.
To view the script's output, click View > Logs.
Further reading
Troubleshooting
This section describes some common issues that you may encounter whileattempting to run this quickstart and suggests possible solutions.
ReferenceError: '[API NAME]' is not defined
Batch Gmail Account Creator Download
This error occurs when the API hasn't been toggled on in the Apps Script codeeditor. Revisit Step 2.b and ensure the corresponding toggle is set to on.
Batch Gmail Account Creator Login
This app isn't verified.
Mass Gmail Account Creator Free
The OAuth consent screen that is presented to the user may show the warning'This app isn't verified' if it is requesting scopes that provide access tosensitive user data. These applications must eventually go through theverification process toremove that warning and other limitations. During the development phase you cancontinue past this warning by clickingAdvanced > Go to {Project Name} (unsafe).