Good news, everyone! We’ve open sourced an officially supported Perl library for SendGrid. We have used this library internally for some time and decided to release it for the community to use and improve.

The readme on github has more information on how to get things going, but the code for sending a simple email and using some SendGrid features looks like this:


Packaging this library and getting the tests to run was fun since I had never touched Perl before. There is tons of good material out there regarding Perl, as you would expect given its history and popularity. Like any language, there are several different ways to accomplish the same tasks, so I got caught up a bit on things like choosing which build approach I should use to package the module, but for the most part things were pretty straightforward.

This module is not yet available on CPAN but we are working on making it available there. Of course, we welcome your suggestions and improvements and would love to see pull requests and issue reports on github. We know there is room for improvement and would love your help!

Brandon West
As Director of Developer Relations for SendGrid, Brandon's focus is on empowering developers to build things, gathering feedback for new features and improvements, and fostering a cooperative developer community for anything that needs email integration.