In my final Code Challenge blog post, I’m taking a look at CrunchBase. If you’d like to read more about this Code Challenge, and see a list of other posts, visit my first post: 15 Days of Code Challenge.

In my previous blog posts we looked at a Python module and Machine Learning API that let us analyze incoming email by their sentiment and concepts based on the body of the email. In this post, I want to showcase another way to classify and prioritize your incoming email. We’ll look at the CrunchBase API and get information from their database on the sender and their company.


  1. Create a SendGrid account if you haven’t (
  2. Get access to the CrunchBase API (

Getting Started:

The first thing we do is create an incoming email address using the Parse Webhook. For more information on how to setup the Parse Webhook, you can check out this post. Next, we create a quick Python app that gets the incoming email, calls the CrunchBase API to extract more information from the senders domain, and lets us know the result. I’ve put the code below.

Using the Parse Webhook, I’ve created an email address Any email I forward to that address will be analyzed by the above python code. It then sends us back an email with the corresponding information.


I’ll be putting together a wrap-up post about my favorite APIs and posts from the Code Challenge, so be sure to check back in soon. You can always hit me up on Twitter if you want to talk about these, too!

Expert advice and insight about all things email including best practices tips, examples, and advice for marketers, developers, and everyone in between.