Temp mail API for signup tests and deliverability checks
Spare Mailbox gives your code a real inbox. Generate a disposable @sparemailbox.com address, poll it, and read the message as JSON. Addresses are permanent, so you can pin one to a test fixture and reuse it across runs.
The same API runs deliverability checks. Send one message to a test address and get back a scored report on SPF, DKIM, DMARC and sender DNS.
Get Spare Mailbox on RapidAPIEndpoints
GET /emails/generate | A new random @sparemailbox.com address, ready to receive mail immediately. |
GET /emails/inbox | Live messages for an address, newest first, without bodies: id, sender, subject, receive time. |
GET /emails/message | One message by id, including its plain-text and HTML bodies. |
GET /deliverability/test | A one-time test address for checking a sender's setup. |
GET /deliverability/report | The scored report for the first message sent to a test address: score, sending IP and every check with its fix. |
Generate an address
curl --request GET \
--url 'https://spare-mailbox-temp-email-api.p.rapidapi.com/emails/generate' \
--header 'X-RapidAPI-Key: YOUR_RAPIDAPI_KEY' \
--header 'X-RapidAPI-Host: spare-mailbox-temp-email-api.p.rapidapi.com'Messages are kept for 24 hours, extended each time new mail arrives, up to 7 days per message. Each inbox holds 10 messages and 25 MB. Treat htmlBody as untrusted markup and render it sandboxed.
Try an address in the browser first at sparemailbox.com. The web inbox and the API read the same mailboxes.
Get Spare Mailbox on RapidAPI