Complete the steps described in the rest of this page to create a simpleGoogle Apps Script that makes requests to the Gmail API.

Prerequisites

To run this quickstart, you need the following prerequisites:

  • A Google account with Gmail enabled
  • Gmail account creator bot

    Gmail Dot Trick Generator @gmail.com. Emails Generated: 0. As the following solution, you can restore your Gmail account password or reset your password by the next steps. Restore your Gmail Password from Chrome/Firefox Browser. Once you have automatically logged in to your Gmail account with Chrome/Firefox browser on your computer, you can easily view and manage the saved password now.

  • Access to Google Drive
  • Step 1: Create the script

    1. Create a new script by going to script.google.com/create.
    2. Replace the contents of the script editor with the following code:

    New editor

    1. Click Save .
    2. Click Untitled project at the top left, type Quickstart, and click Rename.

    Legacy editor

    1. Click File > Save,name your project “Quickstart”, and click OK.

    Gmail Account Creator Bot Github Bot

    Creator

    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:

    1. Click Review permissions.
    2. Choose an account.
    3. 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:

    1. Click the Continue button.
    2. Click the Accept button.

    To view the script's output, click View > Logs.

    Gmail Account Maker Bot

    Great! Check out the further reading section below to learn more.
    Bummer, let us know what went wrong. Check out our troubleshooting section below for some common errors and solutions. If you have found a bug in the code, report the issue on GitHub or submit a pull request.

    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

    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.

    This app isn't verified.

    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).

    #Creating a Twitter bot with Node.jsLearn how you can create your own Twitter bot using Node.js and the new Twitter API. The bot will auto retweet in response to tweets with some particular hashtags. (https://goo.gl/4whEIt)

    ##Tools we needHere are the tools we’ll be using to create the bot — 

    • Node.js installed in your machine
    • A registered Twitter account

    Create a Twitter application

    Gmail Bot Creator

    Gmail Account Creator Bot Github
    1. Create a new account at Twitter that will become your bot. Then go to apps.twitter.com, sign-in with your new Twitter account and create a Twitter application. Give your application a name, description and put any URL in the website field. Keep the callback URL field blank, agree to the terms and submit the form to create your first Twitter application.
    2. Once the Twitter application has been created, click the Keys and Access Tokens tab and click the Create my Access Token button. Twitter will generate the Consumer Keys and Access tokens that we will need in a later step.

    ##Initialize the Twitter bot

    1. Click here to get the source code and save it to your machine. Make sure the source code include package.json and bot.js file.
    2. In the bot.js file edit the values of TWITTER_CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN and ACCESS_SECRET — you know them all from the previous steps.
    3. Set the TWITTER_SEARCH_PHRASE and all matching tweets will get processed by the Twitter bot, one at a time.

    ##Test the bot

    1. Open your terminal and go to the directory where you have saved the source files — both package.json and bot.js file.
    2. Type npm install in the terminal and required packages will be installed on your system.
    3. Type npm start or node bot.js to start the bot and if you get the message The bot is happily running… in the terminal, that’s good. The bot is listening for tweets coming in. You can even hop to your Twitter bot account to check whether the bot is working or not.

    ##AuthorWritten by Debashis Barman

    ##LicenseLicensed under http://creativecommons.org/licenses/by-sa/3.0

    Gmail Account Creator Bot

    ##Bug ReportReport error and bugs to deb.dbuniversity@gmail.com