Pokemailer is a SaaS service designed for developers.
Generate and read your emails on the fly through multiple domains (to avoid spam flags) and secure everything with your unique token.
Read-only for optimal reliability.
Instantly create an email address (@mymailer.xyz
, @securemail.dev
, etc.) via POST /api/newMail.php
. No configuration needed!
Retrieve your messages with GET /api/myMails.php
or read a specific email via GET /api/readMail.php
.
Use IMAP to check from your favorite client.
Each account has a unique token ensuring the confidentiality and security of your emails.
Method: GET
URL: https://pokemailer.com/api/listMails.php
Required Parameters: token
and email
This endpoint allows you to list all emails received for a given address. It verifies the token and the match between the email and the associated password.
curl -X GET "https://pokemailer.com/api/listMails.php?token=YOUR_TOKEN&email=example@domain.com" \
-H "Content-Type: application/json"
const axios = require('axios');
axios.get('https://pokemailer.com/api/listMails.php', {
params: { token: 'YOUR_TOKEN', email: 'example@domain.com' },
headers: { 'Content-Type': 'application/json' }
})
.then(response => console.log(response.data))
.catch(error => console.error(error));
import requests
url = "https://pokemailer.com/api/listMails.php"
params = { "token": "YOUR_TOKEN", "email": "example@domain.com" }
headers = { "Content-Type": "application/json" }
response = requests.get(url, params=params, headers=headers)
print(response.json())
<?php
$token = "YOUR_TOKEN";
$email = "example@domain.com";
$ch = curl_init("https://pokemailer.com/api/listMails.php?token=$token&email=" . urlencode($email));
curl_setopt($ch, CURLOPT_HTTPHEADER, [ "Content-Type: application/json" ]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
Method: GET
URL: https://pokemailer.com/api/myMails.php
Required Parameters: token
This endpoint returns the list of email addresses generated for the user identified by their token.
curl -X GET "https://pokemailer.com/api/myMails.php?token=YOUR_TOKEN" \
-H "Content-Type: application/json"
const axios = require('axios');
axios.get('https://pokemailer.com/api/myMails.php', {
headers: { 'Authorization': 'Bearer YOUR_TOKEN', 'Content-Type': 'application/json' }
})
.then(response => console.log(response.data))
.catch(error => console.error(error));
import requests
url = "https://pokemailer.com/api/myMails.php"
headers = { "Authorization": "Bearer YOUR_TOKEN", "Content-Type": "application/json" }
response = requests.get(url, headers=headers)
print(response.json())
<?php
$token = "YOUR_TOKEN";
$ch = curl_init("https://pokemailer.com/api/myMails.php?token=$token");
curl_setopt($ch, CURLOPT_HTTPHEADER, [ "Content-Type: application/json" ]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
Method: GET
URL: https://pokemailer.com/api/newMail.php
Required Parameters: token
This endpoint generates a new email address for the user. The address is constructed from a generated identifier and the default domain.
curl -X GET "https://pokemailer.com/api/newMail.php?token=YOUR_TOKEN" \
-H "Content-Type: application/json"
const axios = require('axios');
axios.get('https://pokemailer.com/api/newMail.php', {
headers: { 'Authorization': 'Bearer YOUR_TOKEN', 'Content-Type': 'application/json' }
})
.then(response => console.log(response.data))
.catch(error => console.error(error));
import requests
url = "https://pokemailer.com/api/newMail.php"
headers = { "Authorization": "Bearer YOUR_TOKEN", "Content-Type": "application/json" }
response = requests.get(url, headers=headers)
print(response.json())
<?php
$token = "YOUR_TOKEN";
$ch = curl_init("https://pokemailer.com/api/newMail.php?token=$token");
curl_setopt($ch, CURLOPT_HTTPHEADER, [ "Content-Type: application/json" ]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
Method: GET
URL: https://pokemailer.com/api/readMail.php
Required Parameters: token
, uid
(email ID) and email
This endpoint allows you to retrieve the full content of a specific email. The token ensures authentication and the ID allows you to select the desired email.
curl -X GET "https://pokemailer.com/api/readMail.php?token=YOUR_TOKEN&uid=EMAIL_UID&email=example@domain.com" \
-H "Content-Type: application/json"
const axios = require('axios');
axios.get('https://pokemailer.com/api/readMail.php', {
params: { token: 'YOUR_TOKEN', uid: 'EMAIL_UID', email: 'example@domain.com' },
headers: { 'Content-Type': 'application/json' }
})
.then(response => console.log(response.data))
.catch(error => console.error(error));
import requests
url = "https://pokemailer.com/api/readMail.php"
params = { "token": "YOUR_TOKEN", "uid": "EMAIL_UID", "email": "example@domain.com" }
headers = { "Content-Type": "application/json" }
response = requests.get(url, params=params, headers=headers)
print(response.json())
<?php
$token = "YOUR_TOKEN";
$email_uid = "EMAIL_UID";
$email = "example@domain.com";
$ch = curl_init("https://pokemailer.com/api/readMail.php?token=$token&uid=$email_uid&email=" . urlencode($email));
curl_setopt($ch, CURLOPT_HTTPHEADER, [ "Content-Type: application/json" ]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
Quickly view all your generated mailboxes and received messages through our secure web interface.