Use the command : npm install to install the dependencies
Use the command : npm run dev to run the project with nodemon
Use /getAuthCode GET request to start the authentication process and obtain an access and refresh token
The access and refresh tokens will be stored in respective files
Use /sendMail POST request along with the relevant body to send a mail
Use the following body structure for the POST request :
{
"reciever" : "rishwi.prakash@gmail.com",
"subject" : "Some Subject",
"message" : "Some Message"
}
use the /refreshAccessToken POST request to refresh an access token
use the /getAuthCode GET request again to get new tokens for a new sender