<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Aravinth</title>
    <description>The latest articles on DEV Community by Aravinth (@aravinth4blue).</description>
    <link>https://dev.to/aravinth4blue</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F402962%2Fe23a5fc3-7408-4a3f-81b4-6d0fb013b532.png</url>
      <title>DEV Community: Aravinth</title>
      <link>https://dev.to/aravinth4blue</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aravinth4blue"/>
    <language>en</language>
    <item>
      <title>Send Gmail using POSTMAN</title>
      <dc:creator>Aravinth</dc:creator>
      <pubDate>Thu, 25 Jun 2020 12:45:31 +0000</pubDate>
      <link>https://dev.to/aravinth4blue/send-gmail-using-postman-md</link>
      <guid>https://dev.to/aravinth4blue/send-gmail-using-postman-md</guid>
      <description>&lt;p&gt;In Developer console google &lt;br&gt;
CreateCredentials -&amp;gt; Select Application Type -&amp;gt; Web Application -&amp;gt; Add redirect Uri(&lt;a href="https://oauth.pstmn.io/v1/callback"&gt;https://oauth.pstmn.io/v1/callback&lt;/a&gt;) and create the clients &lt;/p&gt;

&lt;p&gt;In Postman &lt;br&gt;
Token name  : Google OAuth token&lt;br&gt;
Grant Type  : Authorization Code&lt;br&gt;
Callback Url : &lt;a href="https://oauth.pstmn.io/v1/callback"&gt;https://oauth.pstmn.io/v1/callback&lt;/a&gt;&lt;br&gt;
Authorize Using browser&lt;br&gt;
Auth Url : &lt;a href="https://accounts.google.com/o/oauth2/auth"&gt;https://accounts.google.com/o/oauth2/auth&lt;/a&gt;&lt;br&gt;
Access Token URL : &lt;a href="https://accounts.google.com/o/oauth2/token"&gt;https://accounts.google.com/o/oauth2/token&lt;/a&gt;&lt;br&gt;
Client ID  : &lt;em&gt;.apps.googleusercontent.com (Obtained from Creating Projects in developer console)&lt;br&gt;
Client Secret : *&lt;/em&gt;**&lt;br&gt;
Scope : &lt;a href="https://www.googleapis.com/auth/gmail.send"&gt;https://www.googleapis.com/auth/gmail.send&lt;/a&gt;&lt;br&gt;
Client Authentication: Send as Basic Auth header&lt;/p&gt;

&lt;p&gt;Request Token will generate  a  new token with Mail send Access&lt;/p&gt;

&lt;p&gt;Make Post Request to the following url&lt;br&gt;
&lt;a href="https://content.googleapis.com/gmail/v1/users/%7Bmailaddress%7D@gmail.com/messages/send?alt=json&amp;amp;key=%7BAPIKEY%7D"&gt;https://content.googleapis.com/gmail/v1/users/{mailaddress}@gmail.com/messages/send?alt=json&amp;amp;key={APIKEY}&lt;/a&gt;&lt;br&gt;
{APIKEY} -&amp;gt; Generated in the Developer console&lt;/p&gt;

&lt;p&gt;From: &lt;a href="mailto:test@gmail.com"&gt;test@gmail.com&lt;/a&gt;&lt;br&gt;
To: &lt;a href="mailto:test@gmail.com"&gt;test@gmail.com&lt;/a&gt;&lt;br&gt;
Subject: Test Email&lt;br&gt;
Convert the following  text into base64 format&lt;/p&gt;

&lt;p&gt;Embed the {base64String} to raw format &lt;br&gt;
{&lt;br&gt;
    "raw": {base64String}&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;Press the send button in the Postman .Mail sent from gmail account.&lt;/p&gt;

</description>
      <category>postman</category>
      <category>api</category>
      <category>discuss</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
