Category Archives: Technical

Hacking Health With SendGrid and SMS

Posted on (0 Comments)

I’m trying to drink more water starting today. There are several reasons behind it, but the top one is to make my mom happy. Mothers are somewhat hard to please. At least mine is… I’ve attempted this in the past, but it didn’t end up well. In my first attempt, I had alarms set up at every single hour. This obviously didn’t work since alarms are a bit annoying. I would be in a meeting or having a conversation, and my water alarm would start ringing. Awkward… Since I still want to accomplish this, and alarms shouldn’t step in the

READ MORE »

The Top 7 Tech Posts of August and September

Posted on (0 Comments)

Our tech posts are written by our developer evangelists as a way to inform readers about some of the great things they are doing. Oftentimes, this means hacks they’re working on using SendGrid, events they’re attending, or how they’ve used SendGrid with another great piece of tech. Over the last couple months, we’ve tracked our most popular technical posts, and we’ve compiled them here. Check out what people have been reading and learning about: 1. The SendGrid Ruby Gem and My Mama! by Eddie Zaneski – This introduction to the new SendGrid Ruby library also features a hack that Eddie created

READ MORE »

OneNote and SendGrid’s Event Webhook

Posted on (0 Comments)

SendGrid will let you know, in near real-time, when emails fail to reach your customers. But what do you do after you have that information? Do you have a plan? With this simple app, you can automatically create follow-up actions in Microsoft OneNote, right as email failures occur. In this blog post, I show you how to use Flask (A Python Microframework), hosted on Microsoft Azure, to capture messages regarding email failures sent from the SendGrid Event Webhook. We then create OneNote pages, that contain follow-up actions, based on the particular email failure. Prerequisites This code was developed using Microsoft

READ MORE »

Connecting Inbound Email to Google Spreadsheets

Posted on (0 Comments)

One of the questions I get asked a lot is how to get information from incoming emails entered into a Google Spreadsheet. In this post, I’ll show you one implementation on how to do this with the gspread module in Python. Getting Started with Our Parse Webhook The first thing we need to do is tell your domain that SendGrid will handle the email on its behalf. Then we tell SendGrid where to post the data from the email: Modify MX Records Change the MX Records of your domain to point to mx.sendgrid.net. This lets the registrar know that SendGrid

READ MORE »

Double Opt-In Email With Node.js

Posted on (0 Comments)

To get a good reputation as a sender, one of the email best practices we encourage our users to implement is the double opt-in. It’s actually a very simple practice: after a user gives you his/her email, you store their information with an authentication token and a boolean variable. The authentication token is just a randomly generated value. After the user signs up for your newsletter or service, you want to send a simple email asking them to click on a link. This link will have their token and take them to a URL that will make a request to the

READ MORE »

Open Source Documentation: One Year Later

Posted on (0 Comments)

A year ago, we open sourced our documentation, with the hypothesis that it would improve the docs by adding feedback loops and removing barriers that discourage contribution. We also wanted to share what we had learned during the process. I’m glad to say that so far the results have been good, and the decision to open source our documentation continues to help us improve it as a product. Where We Are Now We’ve had 59 different contributors to the docs repo since we open sourced it, with around 15 of those contributors being community members rather than SendGrid employees. Considering

READ MORE »

Migrating an App to SendGrid’s Template Engine

Posted on (0 Comments)

I’ve built a lot of applications to demonstrate what SendGrid can do over the past few years. Recently, I’ve started either updating them, getting rid of really old ones, or replacing them with newer ideas and more modernised examples. With the apps I’ve been updating, the biggest change has been removing all of the inline template code for the emails being generated by the app and moving it to SendGrid’s Template Engine, leaving behind a much cleaner looking codebase and a much more manageable set of templates. Migrating a simple app to Template Engine is really easy, here’s how I

READ MORE »