Receive-only mail. Send mail to any address @throwawayletter.com
and read it here. Nothing has to be created first: every address exists.
Read an inbox https://www.throwawayletter.com/inbox/
as JSON https://www.throwawayletter.com/inbox/.json
as text https://www.throwawayletter.com/inbox/.txt
wait for mail https://www.throwawayletter.com/inbox/.json?wait=30
Newest message https://www.throwawayletter.com/inbox//latest.txt
One message https://www.throwawayletter.com/message/.json (also .txt, .html, .eml)
A random address https://www.throwawayletter.com/new
Example:
curl https://www.throwawayletter.com/new
{"address": "k2v9x0qd4m@throwawayletter.com", ...}
curl 'https://www.throwawayletter.com/inbox/k2v9x0qd4m@throwawayletter.com.json?wait=30'
is the whole address or just the part before the @.
A message lists its sender, subject, text, HTML, links and attachments.
With an inbox id and private links:
curl https://www.throwawayletter.com/v1/mail/new
{"id": "...", "address": "...", "inbox_url": "...", ...}
GET the inbox_url for the messages, and a message's read_url to read it.