I like Mailinator. I use it all the time. However, it has had some downtime recently at inopportune times for me. My friend Joël had the idea of creating one’s own disposable email like Mailinator’s. In this post, I’m going to show you how to do just that. It turns out it is pretty easy using modern tools.

Generate a RequestBin

disposable-email-0 Visit RequestBin and create a bin.

Set Up the Inbound Webhook

disposable-email-1 Visit SendGrid’s Parse Webhook Settings. Set the hostname to 1ii55qy1.webhook.email. Set the url to the url of the bin you created above.

Send an Email

disposable-email-2 Go to your email and send an email to hi@1ii55qy1.webhook.email. Refresh the request bin page you generated in Step 1. That’s it. You’re done! You’ll see the contents of the email in the bin you created above.

Of Course It’s Open Source

That was pretty easy, but could be easier. I’ve combined these actions into an open source repo called disposable-email. It makes this process a little easier on you. You can use the demo here or you can host your own by following the instructions here. Combining SendGrid’s Parse Webhook with other great tools can result in fast-to-create web applications. For more details and use cases, download the Parse Webhook Guide for free now.

Hacker in LA. I believe the future is bright. It's up to us to build it - as programmers we get a big say. Follow me on twitter @motdotla.