How To Use SendGrid? Platform For Transactional And Marketing Email Delivery

SSupported by cloud service provider DigitalOcean – Try DigitalOcean now and receive a $200 when you create a new account!
Listen to this article

Twilio SendGrid is a cloud based platform for transactional and marketing email delivery, designed to ensure high inbox placement through robust infrastructure, IP reputation management, and API integration tools. It features a developer focused Email API for automated messages, such as password resets, and a Marketing Campaigns tool for creating and sending bulk email, supported by detailed analytics and security protocols.

SendGrid solves the problem of emails landing in the spam folder. When you send emails directly from your website or application server, email providers (like Gmail or Outlook) often flag them as suspicious. SendGrid acts as a trusted middleman with a high reputation, ensuring your messages actually reach the inbox.

SendGrid’s Key Features

  • SMTP Relay: A quick way to integrate SendGrid into existing applications by changing your email server settings.
  • Web APIs: Advanced developer tools to build custom email workflows directly into your software code.
  • Marketing Campaigns: A visual interface for non developers to design newsletters, build email lists, and automate marketing flows.
  • Email Analytics: Real time tracking for delivery rates, bounces, spam complaints, opens, and link clicks.

Pros and Cons

  • πŸ‘ High Deliverability: Industry leading inbox placement rates.
  • πŸ‘ Massive Scalability: Easily handles millions of emails without slowing down.
  • πŸ‘ Robust Free Tier: Allows you to send up to 100 emails per day for free.
  • πŸ‘Ž Interface Learning Curve: The dashboard can feel overwhelming for complete beginners.
  • πŸ‘Ž Strict Compliance: Account creation can sometimes be flagged or delayed by their automated fraud prevention systems.

How To Use SendGrid?

Step 1: Account Setup

  1. Go to the SendGrid website and click Sign Up.
  2. Fill in your username, password, and company details.
  3. Complete the two factor authentication (2FA) setup for account security.

Step 2: Domain Authentication (Crucial)

Before sending emails, you must prove you own your sender identity to prevent spam filters from blocking you.

  1. In the left menu, go to Settings > Sender Authentication.
  2. Click Authenticate Your Domain.
  3. Select your DNS host (e.g., GoDaddy, Namecheap) and click Next.
  4. SendGrid will generate 3 to 5 CNAME records.
  5. Log into your domain registrar, find your DNS settings, and add these records.
  6. Return to SendGrid and click Verify.

Twilio SendGrid platform options showcasing Email API SMTP service for developers and Email Campaigns for marketers.

Step 3: Choose Your Sending Method

Decide how you want to use the platform:

Option A: For Marketers (No Code)

  1. Go to Marketing > Single Sends or Automation.
  2. Use the drag and drop editor to build your visual email templates.
  3. Upload your contact list and hit send.

Option B: For Developers (With Code)

  1. Go to Settings > API Keys and click Create API Key.
  2. Give it full access permissions and copy the key (you will only see it once).
  3. Paste this key into your application environment file (.env).
  4. Use SendGrid’s official SDKs (Python, Node.js, PHP, etc.) to trigger emails when users take actions (like registering or resetting passwords).

Step 4: Monitor Your Results

  1. Navigate to the Dashboard or Activity tab.
  2. Look at your Delivered vs. Bounced rates.
  3. Keep your spam complaint rate below 0.1% to maintain a healthy sending reputation.

How To Use SendGrid For Marketing Newsletters?

To use SendGrid for marketing newsletters, you will use the Marketing Campaigns feature instead of the developer API. This allows you to upload contacts, design layouts with a drag and drop builder, and schedule blasts.

Here is the exact step by step process to create and send your first newsletter.

Step 1: Create a Sender Identity

Before creating a newsletter, you must define who the email is coming from.

  1. Log into SendGrid and go to Marketing > Sender Management.
  2. Click Create New Sender.
  3. Fill out the form with your From Name (e.g., Jane from Company), From Email (must match your authenticated domain), and physical business address (required by anti spam laws).
  4. Check your inbox and click the link in the verification email from SendGrid.

Step 2: Upload Your Contact List

  1. Navigate to Marketing > Contacts.
  2. Click Add Contacts in the top right corner.
  3. Choose Upload CSV to upload a spreadsheet of your subscribers.
  4. Map your CSV columns to SendGrid fields (e.g., Email, First Name).
  5. Assign these contacts to a new or existing list (e.g., “Monthly Newsletter Subscribers”).

Step 3: Design the Newsletter

  1. Go to Marketing > Single Sends and click Create a Single Send.
  2. Browse the templates or select Blank Template.
  3. Choose the Design Editor (drag and drop visual builder) rather than the Code Editor.
  4. Drag in elements like Images, Text blocks, and Buttons for call to actions.
  5. Tip: Use tags like {{first_name}} in your text blocks to automatically personalize the email for each recipient.

Step 4: Configure Settings and Send

  1. Click the Settings tab inside the email editor.
  2. Enter your Subject Line and Preview Text (the teaser text shown in standard inboxes).
  3. Select the Sender Identity you created in Step 1.
  4. Under Recipients, select the contact list you uploaded in Step 2.
  5. Click Test Email to send a preview copy to your personal inbox to check the layout and links.
  6. Click Review and Send. You can choose to send the newsletter Immediately or Schedule it for a future date and time.