![Page 1: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/1.jpg)
Learn How SendGrid Replaces Your
Outbound Email Infrastructure
Elmer ThomasDeveloper [email protected]
Prepared for
LAMPsig - Los Angeles Web Development User Group
![Page 2: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/2.jpg)
About SendGrid• Founded August 2009
– TechStars 2009 Graduate
• Locations– Headquarters: Boulder, CO – Office: Anaheim, CA
• Venture Backed: $5.75 million– Foundry Group– Highway 12 Ventures– Angel Investors
• Dave McClure, Jeff Clavier, David Cohen, Matt Mullenweg, Scott Petry
![Page 3: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/3.jpg)
Currently Sending Over 2 Billion Emails Every Month for Over 30,000 Customers (and Growing)!
![Page 4: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/4.jpg)
What We BelieveEmail is...
essential to your businessthe best way to communicate with customers
We want YOU to focus on developing killer apps, not building out an email infrastructure.
![Page 5: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/5.jpg)
The Problem
20% of Emails Missing or Caught by Spam Filters
![Page 6: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/6.jpg)
![Page 7: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/7.jpg)
The Problem
It is Non-Trivial to Build an Email Infrastructure.
![Page 8: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/8.jpg)
Categories of Email
![Page 9: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/9.jpg)
Categories of Email
![Page 10: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/10.jpg)
Categories of Email
![Page 11: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/11.jpg)
Example Transactional Emails• Facebook & LinkedIn Friend Requests• Twitter.com Follower Updates• Shipping Alerts • Sign Up Verifications / Double Opt-In
![Page 12: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/12.jpg)
Why Not DIY?
![Page 13: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/13.jpg)
What Does SendGrid Offer?
![Page 14: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/14.jpg)
Email Deliverability On average, 20% of legitimate emails never reach the inbox.
SendGrid addresses this problem through a unique combination of technology and best practices:– Validation via DKIM, SPF and Sender-ID– Regular reputation monitoring– Dedicated IP addresses – Whitelabeling and link customization– Spam filter testing– Feedback Loops– ISP monitoring and deliverability outreach
![Page 15: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/15.jpg)
ScalabilityOur cloud infrastructure routinely delivers over a 2 billion emails every month and is ready to scale on demand.Whether you need to send 200 emails a day or 200 million emails a day, we adjust dynamically to meet your needs.Our infrastructure eliminates the need for you to to predict, provision and maintain mail server capacity.
![Page 16: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/16.jpg)
AnalyticsSendGrid provides powerful data and the insight you need to achieve your email objectives.
• Track opens, unique opens, clicks, unsubscribes and more.
• Segment metrics and ROI performance by email type, campaign, or custom categories.
• Monitor deliverability metrics to determine requests, bounces, delivered rates, blocks and spam reports.
![Page 17: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/17.jpg)
Integration OptionsIntegrate with our SMTP relay or with our robust APIs for custom integration.
API set includes:– SMTP: Deliver custom handling instructions for email through a JSON header.
– Web: Deliver custom handling instructions for email through secure REST API.
– Event: Notifies a URL real-time of events such as opens, clicks, bounces, spam reports, and unsubscribes.
– Parse: Parses content and attachments of incoming email and posts it to your web application.
– OEM: Build your own product/service on top of SendGrid’s powerful email infrastructure.
![Page 18: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/18.jpg)
Basic SMTP Configuration
![Page 19: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/19.jpg)
SMTP API
![Page 20: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/20.jpg)
Web API• Send mail• Retrieve lists - bounces, unsubscribes, spam reports• Retrieve statistics –
<requests>12342</requests> <bounces>12</bounces> <clicks>10223</clicks> <opens>9992</opens> <spamreports>5</spamreports> <unique_clicks>3</unique_clicks> <unique_opens>6</unique_opens><blocked>7</blocked>
• Pretty much anything that can be manipulated via the website can be done via the API - user profile information, app settings, etc.
![Page 21: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/21.jpg)
Event CallbacksArray( [email] => [email protected] [event] => processed)Array( [email] => [email protected] [response] => 250 2.0.0 OK 1312487387 f25si6410849yhn.68 [event] => delivered)Array( [email] => [email protected] [event] => open)
![Page 22: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/22.jpg)
Parsing Incoming Emails• Point MX record to mx.sendgrid.net• Define the hostname and callback URI• Received messages are parsed and POSTed
[attachments] => 0[dkim] => {@gmail.com : pass}[subject] => test[to] => [email protected][text] => 12[from] => Brandon West <[email protected]>[envelope] => {\"to\":[\"[email protected]\"],\"from\":\"[email protected]\"}[charsets] => {\"to\":\"UTF-8\",\"subject\":\"UTF-8\",\"from\":\"UTF-8\",\"text\":\"us-ascii\"}[SPF] => pass
![Page 23: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/23.jpg)
![Page 24: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/24.jpg)
![Page 25: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/25.jpg)
![Page 26: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/26.jpg)
Apps for Enhancing Your Email
Email to Phone
Email to Twitter
Newsletters
Domain Keys
Event Notification
Even More Apps on SendGrid.com
Click Tracking
Open Tracking
SPAM Checker
Google Analytics
Address Whitelist
![Page 27: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/27.jpg)
![Page 28: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/28.jpg)
![Page 29: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/29.jpg)
![Page 30: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/30.jpg)
![Page 31: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/31.jpg)
What’s New?• Infrastructure Improvements• freemail:– direct: 200 /day– Heroku: 200 /day– Rackspace: 40,000 /month – Softlayer: 25,000 /month
• Lite plan:– .10 per thousand
![Page 32: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/32.jpg)
Superior Customer SupportPhone, chat, and email support available to all customers:– Critical Incident Support 24/7– Weekdays 7am to 7pm Mountain Time Zone
Extensive DocumentationOnline Knowledge BaseActive Support Community
![Page 33: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/33.jpg)
Q & A
Contact me at [email protected] when you are ready to go to production and I’ll set you up with a discount.
![Page 34: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/34.jpg)
![Page 35: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/35.jpg)
![Page 36: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/36.jpg)
![Page 37: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/37.jpg)
![Page 38: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/38.jpg)
![Page 39: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/39.jpg)
![Page 40: LAPHP/LAMPSig Talk: Intro to SendGrid - Building a Scalable Email Infrastructure](https://reader034.vdocuments.site/reader034/viewer/2022051412/54b707aa4a79594a478b462c/html5/thumbnails/40.jpg)