Mail Receiver API

Welcome to the Mail Receiver API. This API allows you to receive and query emails efficiently.

Endpoints

GET /emails

Retrieve all received emails or filter them by recipient.

Query Parameters:

Example:

GET /emails?to=example@domain.com

Response

The response is a JSON array of emails, each containing the following fields:

Field Description
subject The subject of the email.
from The sender's email address.
to The recipient's email address.
text The plain text content of the email.