Transactional Email

Transactional email delivery that is scalable, reliable, and easy to implement. Whether you're developing apps for the web or mobile environments, you need an effective way to communicate with your customers. Email remains the most powerful form of customer communication, but building and maintaining your own email infrastructure can be resource-intensive and costly. SendGrid eliminates the cost and complexity of maintaining your own infrastructure, allowing you to focus on developing the next great app!

Pricing Plans

Benefits

Easy to Integrate

Simple SMTP setup, plus flexible Web and SMTP APIs, provide a customizable integration approach.

  • Support for multiple development frameworks including CakePHP, CodeIgniter, Django, Node.js, Ruby on Rails, Symfony, and more.
  • Robust Documentation and Support articles are publicly available to answer any technical integration questions you may have.
  • Powerful Web API allows you to pull statistics and other account information without logging into SendGrid.

Learn more about our email APIs ›

Learn more about our SMTP service ›

curl -X POST https://api.sendgrid.com/api/mail.send.json \
     -H "Authorization: Bearer SENDGRID_APIKEY" \
     -d "to=test@sendgrid.com" \
     -d "from=you@youraddress.com" \
     -d "subject=Sending with SendGrid is Fun" \
     -d "html=and easy to do anywhere, even with CURL"
// using SendGrid's Node.js Library
// https://github.com/sendgrid/sendgrid-nodejs
var sendgrid = require("sendgrid")("SENDGRID_APIKEY");
var email = new sendgrid.Email();
 
email.addTo("test@sendgrid.com");
email.setFrom("you@youremail.com");
email.setSubject("Sending with SendGrid is Fun");
email.setHtml("and easy to do anywhere, even with Node.js");
 
sendgrid.send(email);
# using SendGrid's Ruby Library
# https://github.com/sendgrid/sendgrid-ruby
require 'sendgrid-ruby'
 
sendgrid = SendGrid::Client.new do |c|
  c.api_key = 'SENDGRID_APIKEY'
end
 
email = SendGrid::Mail.new do |m|
  m.to      = 'test@sendgrid.com'
  m.from    = 'you@youremail.com'
  m.subject = 'Sending with SendGrid is Fun'
  m.html    = 'and easy to do anywhere, even with Ruby'
end
 
sendgrid.send(email)
# using SendGrid's Python Library
# https://github.com/sendgrid/sendgrid-python
import sendgrid
 
client = sendgrid.SendGridClient("SENDGRID_APIKEY")
message = sendgrid.Mail()
 
message.add_to("test@sendgrid.com")
message.set_from("you@youremail.com")
message.set_subject("Sending with SendGrid is Fun")
message.set_html("and easy to do anywhere, even with Python")
 
client.send(message)
// using SendGrid's Go Library
// https://github.com/sendgrid/sendgrid-go
package main
 
import (
    "github.com/sendgrid/sendgrid-go"
)
 
func main() {
    sg := sendgrid.NewSendGridClientWithApiKey("SENDGRID_APIKEY")
 
    message := sendgrid.NewMail()
    message.AddTo("test@sendgrid.com")
    message.SetFrom("you@youremail.com")
    message.SetSubject("Sending with SendGrid is Fun")
    message.SetHTML("and easy to do anywhere, even with Go")
 
    sg.Send(message)
}
// using SendGrid's PHP Library
// https://github.com/sendgrid/sendgrid-php
require 'vendor/autoload.php';
$sendgrid = new SendGrid("SENDGRID_APIKEY");
$email    = new SendGrid\Email();
 
$email->addTo("test@sendgrid.com")
      ->setFrom("you@youremail.com")
      ->setSubject("Sending with SendGrid is Fun")
      ->setHtml("and easy to do anywhere, even with PHP");
 
$sendgrid->send($email);
// using SendGrid's Java Library
// https://github.com/sendgrid/sendgrid-java
import com.sendgrid.*;
 
public class SendGridExample {
  public static void main(String[] args) {
    SendGrid sendgrid = new SendGrid(SENDGRID_APIKEY);
 
    SendGrid.Email email = new SendGrid.Email();
 
    email.addTo("test@sendgrid.com");
    email.setFrom("you@youremail.com");
    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
// https://github.com/sendgrid/sendgrid-csharp
using System.Net.Http;
using System.Net.Mail;
 
var myMessage = new SendGrid.SendGridMessage();
myMessage.AddTo("test@sendgrid.com");
myMessage.From = new MailAddress("you@youremail.com", "First Last");
myMessage.Subject = "Sending with SendGrid is Fun";
myMessage.Text = "and easy to do anywhere, even with C#";
 
var transportWeb = new SendGrid.Web("SENDGRID_APIKEY");
transportWeb.Deliver(myMessage).Wait();

Easy-to-Use Interface

Intuitive user interface provides easy access to any part of the SendGrid platform.

  • All SendGrid platform features are available to technical and non-technical users alike through the Customer Portal.
  • Easy-to-understand Customer Portal provides insight into recent email activity.
  • Navigate to all areas of your SendGrid account to segment lists, change billing settings, or view past sending performance.
User-interface

Advanced IP and User Management

Easily create and manage account users, subusers, and associated IP addresses.

  • Streamlined and intuitive user creation process.
  • Flexible subuser management provides ability to seamlessly navigate between parent and any subuser accounts.
  • Simple account and subuser account IP management including IP allocation, whitelabeling, and mail throttling capabilities.
Advanced-management

Customized Whitelabeling

Advanced whitelabeling provides ability to customize sending domains, links, and IP addresses.

  • Domain and link customization available to all customers, even those sending from shared IP pools.
  • Custom SPF and DKIM record creation to eliminate domain spoofing and phishing emails being sent from your domain.
  • Easily create and manage IP addresses associated with parent and subdomain accounts for optimized deliverability.
Whitelabeled-example

Easy Template Editing

Transactional templates enable marketers and designers to easily manage and update email templates without developer support and additional overhead.

  • Easily edit transactional email template code with CSS, HTML, and drag & drop editors.
  • Preview multiple device layouts with the responsive editor.
  • Template editor API for customized implementation.

Learn more about our transactional email templates ›

Template-editing

Manage Email Suppression and Unsubscribe Groups

Improve engagement with your recipients via SendGrid’s unsubscribe groups by providing the ability for recipients to select the type of email they want to receive.

  • Create email groups that represent all types of email you regularly send to your recipients, for example receipts, social notifications, and account alerts.
  • Gain detailed insight into recipient engagement by group and compare against other email types.
  • Unsubscribe manager API provides ability to customize unsubscribes by email type, unsubscribe groups, and global unsubscribes.
Unsubscribe-groups

Advanced Analytics and Reporting

Gain powerful insight into the performance of your transactional email via the SendGrid Customer Portal and Event Webhook.

  • Real-time visibility into email activity like opens, bounces, and clicks.
  • Advanced statistics including activity by device, browser, ISP, geolocation, subuser, mail category, email client, and more.
Analytics-graphic

Smartphone and Tablet Applications

Mobile access to your SendGrid account allows you to monitor your email activity, manage suppression lists, and troubleshoot mission-critical email delivery while on the go.

  • View and search real-time delivery metrics.
  • Manage unsubscribe/suppression lists.
  • Export .csv files and share reports via email.
App-store-button Google-play-badge
Smartphone-tablet

Customer-Focused Security and Privacy

You trust your important data to us and we take that very seriously. At SendGrid, your data belongs to you. We have a number of measures in place to make sure it stays that way:

  • Protect your account with two-factor authentication, multi-user credentials, API key permissions, and IP Access Management.
  • Safeguard your messages with enforced or opportunistic TLS.
  • Know your mission critical emails will reach your users via our distributed, redundant data centers and proprietary MTA.
Security-graphic
"SendGrid has been instrumental in scaling our email without interruptions. I'm used to working on imperfect systems, so it's nice to have things just work for me. To have an email provider I can contact with any problems or issues and have them troubleshoot has been really, really valuable."

The SendGrid Difference

deliverability-icon Created with Sketch.

Proven Deliverability

We invest in a team of deliverability experts to optimize inbox delivery on behalf of our customers.

scale-icon Created with Sketch.

Scale with Confidence

Our world-class email platform delivers more than 20 billion emails per month.

global-support-icon Created with Sketch.

24/7 Global Support

Have questions? Our support team is available 24/7/365, and our self-support materials are always available.