Email Delivery. Simplified.

SendGrid is the world's largest Email Infrastructure as a Service provider. Our email delivery service moves 2% of the world's non-spam email (over 14 billion emails/month) for more than 180,000 companies including technology leaders like Pinterest, Spotify, and Uber.

Integrate in Minutes

Not a developer? Check out our marketing email features and our best practice resources.

Start sending now via SMTP or HTTP.

SendGrid has been built from the ground up as an API company. We're built to serve developers and make it easy to send email no matter your environment. You can send email over SMTP or HTTP, and even use one of our official client libraries. In just a few minutes, you can send your first email and millions more.

View all Documentation ›
curl -X POST \
     -d "api_user=YOUR_USERNAME" \
     -d "api_key=YOUR_KEY" \
     -d "" \
     -d "" \
     -d "subject=Sending with SendGrid is Fun" \
     -d "html=and easy to do anywhere, even with CURL"
// using SendGrid's Node.js Library -
var sendgrid = require("sendgrid")(api_user, api_key);
var email = new sendgrid.Email();
email.setSubject("Sending with SendGrid is Fun");
email.setHtml("and easy to do anywhere, even with Node.js");
# using SendGrid's Ruby Library -
require 'sendgrid-ruby'
sendgrid = api_user, api_key: api_key)
email = do |m|      = ''
  m.from    = ''
  m.subject = 'Sending with SendGrid is Fun'
  m.html    = 'and easy to do anywhere, even with Ruby'
# using SendGrid's Python Library -
import sendgrid
sendgrid = sendgrid.SendGridClient(api_user, api_key)
message = sendgrid.Mail()
message.set_subject("Sending with SendGrid is Fun")
message.set_html("and easy to do anywhere, even with Python")
// using SendGrid's Go Library -
package main
import ("")
func main() {
    sendgrid := sendgrid.NewSendGridClient(api_user, api_key)
    message := sendgrid.NewMail()
    message.SetSubject("Sending with SendGrid is Fun")
    message.SetHTML("and easy to do anywhere, even with Go")
// using SendGrid's PHP Library -
$sendgrid = new SendGrid($api_user, $api_key);
$email    = new SendGrid\Email();
      ->setSubject("Sending with SendGrid is Fun")
      ->setHtml("and easy to do anywhere, even with PHP");
// using SendGrid's Java Library -
import com.sendgrid.*;
public class SendGridExample {
  public static void main(String[] args) {
    SendGrid sendgrid = new SendGrid(api_user, api_key);
    SendGrid.Email email = new SendGrid.Email();
    email.setSubject("Sending with SendGrid is Fun");
    email.setHtml("and easy to do anywhere, even with Java");
    SendGrid.Response response = sendgrid.send(email);
// using SendGrid's C# Library -
using System;
using System.Net;
using System.Net.Mail;
using SendGridMail;
using SendGridMail.Transport;
SendGrid mail = SendGrid.GetInstance();
mail.From = new MailAddress("");
mail.Subject = "Sending with SendGrid is Fun";
mail.Text = "and easy to do anywhere, even with C#";
var credentials = new NetworkCredential(api_user, api_key);
var transportWeb = new Web(credentials);
# using SendGrid's Perl Library -
use Mail::SendGrid;
use Mail::SendGrid::Transport::REST;
my $sendgrid = Mail::SendGrid->new(
  from => "",
  to => "",
  subject => "Sending with SendGrid is Fun",
  html => "and easy to do anywhere, even with Perl"
Mail::SendGrid::Transport::REST->new( username => $api_user, password => $api_key );

Sending email for 180,000+ customers

SendGrid is the trusted platform that successfully delivers over 14 Billion emails per month on the behalf of 180K+ customers. We provide unmatched deliverability, scalability, and reliability.

Become an email expert

Boost your email deliverability skills with best practice guides, videos and webinars.


SendGrid best practice guides

Download complimentary guides written by SendGrid email experts that will help you master deliverability and improve your sending reputation.

View all Guides ›
Learn what factors affect your deliverability and what key steps you can take right now to make it to the inbox.
Discover the power of SendGrid’s APIs and webhooks through detailed descriptions, sample use cases, and customer success stories.
Learn 30 actionable tips to grow your email subscriber list, without renting or buying addresses.
Your step-by-step guide to SendGrid’s email platform that highlights our key differentiators and how they can benefit your business.
Key strategies, tools, and tactics to help you comply with the Internet Service Providers, including a dozen resource links.
Learn the best placement, content, and design for your CTAs that will help guarantee a click.


SendGrid webcast recordings

Access free advice from SendGrid and other industry experts on how to improve your email communication strategies and drive engagement with your subscribers.

View all Webcasts ›


SendGrid video resources

Learn more about SendGrid's core values that influence every part of our product and gain valuable takeaways about deliverability basics in our instructional videos.

View all Videos ›