Category Archives: Technical

Introducing the Deliverability Center

Posted on (0 Comments)

If you’ve spent any amount of time sending email for either personal or professional reasons, you’ve probably encountered a very common and very frustrating problem: understanding email server response codes. When you send an email that fails to get accepted, the response codes sent back by ISPs like Yahoo, Gmail, and even home-brewed Mail Transfer Agents (MTAs) can be unhelpful, bizarre, and sometimes downright confusing. Here are a few examples of what I mean: 550 5.7.1 RESOLVER.RST.NotAuthorized; not authorized Huh? What’s not authorized? Who? Where? 554 Reject by behaviour spam Who is this “behavior spam” and why is he rejecting

READ MORE »

Code Challenge: Incoming Email Analysis with Crunchbase and the Parse Webhook

Posted on (0 Comments)

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

READ MORE »

SendGrid’s Experience Converting Relay Service to Go

Posted on (0 Comments)

Last year I talked about SendGrid’s decision to use Go as our primary development language. For the most part this has affected only new services. Recently though, we have completed a rewrite of one of our highest load components to Go and I thought I would share the story and some of the lessons learned. Background As some background, almost a year ago one of our engineers who was helping to make the pitch of why we should use Go rewrote the service that handles final customer IP selection/transmission of data to remote SMTP servers as a proof of concept/example

READ MORE »

Code Challenge: Fun with Mashape and SendGrid

Posted on (0 Comments)

In my penultimate post for the Code Challenge series, I’m putting a spotlight on Mashape. You can check out the list of all my posts in my introduction to the Code Challenge. Mashape is an API hub that has tons of APIs that are perfect for SendGrid mash-ups. In this post I wanted to go over some of my favorites and showcase how they work. Email Sherlock As the name suggests, Email Sherlock gives you information on the email address provided. It does this by doing a social media search on the email address. This makes a good mash-up with

READ MORE »

Falcon, Fluentd, and Event Webhook

Posted on (0 Comments)

A couple of weeks ago I came across a new python web framework called Falcon. I was quickly impressed with its ease of use and most importantly this fragment: It doesn’t try to be everything to everyone, focusing instead on a single use case: HTTP APIs. I decided to build a simple server that will consume data from SendGrid’s Event Webhook and use Fluentd to log and store the events. Fluentd provides a sense of dependency injection when it comes to logging and storing to multiple data outputs with a simple configuration file. Building the Environment First, install Fluentd. You can find

READ MORE »

Code Challenge: The SendGrid Event Webhook + Firebase

Posted on (0 Comments)

Creating a Real-Time Email Event Feed There was a bit of a break in my 15 Days of Code Challenge over the holidays, but I’m back to finish the last three. Today, I’ve created a real-time email event feed by using SendGrid’s own Event Webhook, Firebase, and a couple other tools. Check out the tutorial below. I use a Mac and wanted to showcase an easy way to get the real-time feed of what’s happening with my email. I thought it would be interesting to create a native Mac application that sits in the OSX menu bar right next to

READ MORE »

Code Challenge: Listen to Incoming Emails with Twilio

Posted on (0 Comments)

A lot of cars now provide you with Bluetooth connections to your mobile phone. This gives you the ability to play music from your phone as well as make and answer phone calls. This made me think, what if we could extend this ability to listen and respond to incoming emails? I found it’s actually possible by turning on email forwarding and implementing the SendGrid Parse Webhook and the Twilio API. Ingredients Twilio Account: Twilio is a voice and messaging API service. We use their service to call our phone and dictate the email. SendGrid Account: We use the Parse

READ MORE »