title: How can i use Gmail API to send an email as per the
body: <p>I need help on to Read Unreaden emails count / send an email to specific or group of people and search with senders id or date to find a specific email using API Only, no programming I did the action like this <a href="https://www.googleapis.com/gmail/v1/users/gmailid@gmail/profile" rel="nofollow noreferrer">https://www.googleapis.com/gmail/v1/users/gmailid@gmail/profile</a> on the browser and i got the output like below</p>
  
  <pre><code>{
    "error": {
      "errors": [{
        "domain": "global",
        "reason": "required",
        "message": "Login Required",
        "locationType": "header",
        "location": "Authorization"
      }],
      "code": 401,
      "message": "Login Required"
    }
  }
  </code></pre>
  
  <p>I know, i have to pass oAuth token or client id and client secreat to the url, but i dont know how can i pass that info through URL. </p>
  
  <p>Also i tried in Post-Man and i could not able tocreate the oAuth token, it is asking call back and redirect url that i dno know.</p>
  
  <p>Can some body give me the idea pleaseI need only API Solution, because i need to work on API stuff, i can successfully implemented the same using java. But i could not able to do this using API ( Am not using any programming to handle the API, only Browser calls and most likely Post-Man only)</p>