Mailrecipe

FREEMIUM
By mailrecipe
Updated 5 months ago
Email
-/10
Popularity Score
-
Latency
-
Success Rate

Mailrecipe API Documentation

Stops you from sending too many marketing emails to a user. Sits on top of your existing email service and ensures your users get a maximum of 1 email per day.

View API Details
Send Email
POSTUsing Google Cloud
POSTUsing SendGrid
POSTUsing Google Cloud

Sends email using Google App Engine Email service

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
bodySTRING
REQUIREDEmail content in HTML
toSTRING
REQUIREDTo whom are you sending this email to
subjectSTRING
REQUIREDSubject of the email to be sent
Code Snippet
unirest.post("https://mailrecipe.p.rapidapi.com/gaemail/send")
.header("X-RapidAPI-Host", "mailrecipe.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("body=<required>")
.send("to=<required>")
.send("subject=<required>")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://mailrecipe.p.rapidapi.com/gaemail/send
Request Method: POST
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://mailrecipe.p.rapidapi.com/gaemail/send")
.header("X-RapidAPI-Host", "mailrecipe.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("body=<required>")
.send("to=<required>")
.send("subject=<required>")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication