Mail Bucket

A Chris Smith project.

Mail Bucket is a simple tool that makes testing your mail implementation really easy.

How does it work?

Simply send an email to some @mailbucket.io address. Then perform a GET request to https://mailbucket.io/<address> to retrieve the email. There is no need to configure a mailbox beforehand.

My goal designing this API was to make it as simple as possible to retrieve an email and check its contents. This results in violations of principles such as "GET shouldn't modify", but I don't care.

Show me an example!

Send an email to mytest @mailbucket.io curl https://mailbucket.io/ mytest @mailbucket.io

Isn't this insecure?

If you use a simple address like mytest@mailbucket.io , then anybody can read your emails and there is always the possibility of two developers picking the same email for their tests. Instead, you should make up a random address such as Y1IhwHzkdnY3z8@mailbucket.io and use that. This address should be generated on-the-fly for each test, rather than hard coding it.

This doesn't currently support SSL delivery (so your emails could be read by men-in-the-middle). But in reality, you shouldn't be sending me security sensitive stuff anyways!

Technicalities