Email Testing tool
API
get list of emails
- GET /api/list
response example:
{
"emails": [
{
"id": "123",
"sender": "sender",
"recipient": "recipient",
"subject": "subject",
"timestamp": "timestamp"
}
]
} - GET /api/list/[recipient]
{
"emails": [
{
"id": "321",
"sender": "sender",
"recipient": "recipient",
"subject": "subject",
"timestamp": "timestamp"
}
]
} - GET /api/email/[id]
{
"id": "6da950f1-e433-4965-80b2-6a5f26eb8a36",
"sender": "sender@gmail.com",
"recipient": "recipient@email-testing.pp.ua",
"subject": "test",
"body": "xxx",
"timestamp": 1737814882102
} - DELETE /api/email/[id]
{
"status": "ok"
} - GET /api/email/[id]/text
{
"content": "test"
} - GET /api/email/[id]/html
{
"content": "test"
}