Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now
Build the future of communications.
Start building for free

Email posts

  • By Robert Alford
    Build a Contact Form for a Python Django Application with Twilio SendGrid Build a Contact Form for a Python Django Application with Twilio SendGrid

    A contact form is a common feature of many websites that provides a way for users to get in touch with the site’s administrators without having to open their email or hop on the phone. In a Python Django application, a contact form can be used to store a user’s contact information in the site’s database. And with Twilio SendGrid, we can also trigger an automated email containing that information as soon as the form is successfully submitted.

    In this tutorial, we will build a simple contact form for a Django web application that does just that.

    Project screenshot

    Tutorial requirements

    • Python version 3.6 or higher. If you do not have Python installed on your computer, you can download a free installer here.
    • A free Twilio SendGrid account. Sign up here to send up to 100 emails per day completely free of charge.
    • The Django web framework. Django is a fully …
    Read More
  • By Anumadu Udodiri Moses
    Create a Mailing List in PHP using Laravel, Vue.js, and Twilio's SendGrid Email API Create a Mailing List using Laravel, Vue.js and Twilio's SendGrid Email API

    The importance of email marketing cannot be over-emphasized in modern-day business, mostly because of its cost-effectiveness and conversion-to-sales ratio. This tutorial will teach you how to use Twilio’s SendGrid Email API with Laravel and a Vue.js frontend to send bulk emails to more than 100 email addresses at once. This removes the pain of sending out emails slowly, as well as the possibility of emails going to spam.

    After we’re finished, you will have developed a custom mailing list that:

    • Allows anyone to enter their email address and save it to the application database
    • Send out bulk emails to provided email addresses


    To follow along with this tutorial you should have the following in place:

    Read More
  • By Phil Nash
    How to Add Email Notifications to Your Node.js SMS App How to Add Email Notifications to Your Node.js SMS App

    Sending notifications from your application means you can deliver your users relevant, timely and personalised information about their accounts or activity. You may have already built SMS notifications into your application, perhaps by following this Node.js tutorial on ETA notifications, but can we improve the experience? Your customers may want to receive notifications that are easily referenceable later or choose the channel through which they receive alerts.

    In this post, we will explore how email notifications can work alongside SMS notifications for account alerts, and walk through how to build them into your application using the Twilio SendGrid Email API.

    What you'll need

    To follow along with the code and build the application in this post you will need:

    Read More
  • By Steph Moorhead
    A Year of 1 Trillion Emails: The Customers Who Sent Them A YEAR OF 1 TRILLION EMAILS - 2340x1000 - NO TEXT@2x.png

    This article originally appeared on the Twilio SendGrid blog.

    During a year of change, email has become an even more crucial connection between businesses and their customers. Email engagement increased by 200% in the wake of the COVID-19 pandemic. As more customers stay at home, checking the inbox has become a regular part of customers’ daily routines—day and night, we check-in with our favorite brands and organizations. 

    In 2020, Twilio SendGrid kept businesses connected to their customers by reliably processing over 1 trillion emails. Imagine 1 trillion letter-sized pieces of paper lined up end to end. That’s 173 million miles—long enough to travel to Mars and back when it's closest to Earth. Twice!

    This incredible feat would not have been possible without our customers: senders both large and small who trusted us to deliver email to their customers. To celebrate this milestone, here’s a look at a few …

    Read More
  • By Devon Jones
    Peering Enhances Performance at 415 Million Emails per Hour Peering-enhances-performance.png

    This post originally appeared on the Twilio SendGrid blog.

    One of the main methods for businesses and consumers to stay connected during COVID-19 has been through email. So when it came to preparing our communication platform for the holiday season, we took this increased responsibility to heart.

    For several months before the Black Friday weekend, we tested and tuned our infrastructure. Similar to years past we followed every anomaly, chased down every clue we uncovered to ensure stability, availability, and performance in our platform. We were preparing for holiday traffic that no one could predict with a high degree of certainty. All that preparation paid off—the volume our customers produced over the holiday weekend was unprecedented in the history of Twilio SendGrid.

    This year we processed:

    • 5.8 billion emails in 24 hours on Black Friday
      • 41% increase over 2019
    • 5.7 billion emails in 24 hours on Cyber Monday
      • 36% …
    Read More
  • By Phil Nash
    Send your first interactive AMP Email with Twilio SendGrid Send your first interactive AMP email with Twilio SendGrid

    AMP for email is a way to build emails that allow users to interact dynamically with the content of the message. AMP emails can load up-to-date data, handle form submissions inline, provide interactive components like carousels and accordions, and even use modern CSS.

    AMP for email is a combination of a whitelisting process and a subset of the open source AMP HTML web component library that together allows you to build and send dynamic emails. You may have seen examples of this in your inbox before — my favourite is this experience when commenting on a Google Doc.

    An animation, viewing a Google Docs comment email in Gmail. In the animation I reply to a comment then mark the thread as resolved all within the email.

    You too can create email experiences like this. In this article we're going to send a basic AMP Email using Twilio SendGrid.

    What you'll need

    To build your first AMP Email and send it with SendGrid you will need:

    Read More
  • By Koryn DelPrince
    Architect Your Email Program for Success This Black Friday 2020 Q4 Campaign - Blog Post #1 - Twilio Blog.png

    Without downplaying our current situation, we can all admit that COVID-19 phrases are overused. You’ve likely heard these sayings over and over again: “Times are changing,” “During these unprecedented times,” “Our new normal,” or “Where’s all the toilet paper?” But what do these phrases really mean?

    Aside from the toilet paper (just making sure you’re paying attention!), it’s clear that COVID-19 has transformed our everyday communications. As consumers turn to contact-less interactions, companies from all industries are leaning on developers to re-architect their communications to reflect this changing landscape.

    Thankfully, you have email to serve as your foundation for a plethora of communications this holiday season. You’re the architect, but we’ll provide the building blocks you need to grow your email program and make it to the inbox...

    Log In to Lay the Groundwork for Holiday Sending


    Signup for a Free Twilio SendGrid Account

    Toolbox tips for a well-grounded …

    Read More
  • By Alan Klein
    Outsmart Voice Mail with Human Detection Using Keypress Prompts Human Detection Keypress

    One of the challenges of programmatically connecting parties over the phone is accounting for voice mail. From the perspective of the underlying telephony network, a human answering a call looks identical to an automated answering machine.

    Twilio provides Answering Machine Detection (AMD) that can be enabled when placing an outbound-api call via the /Calls resource. However, when connecting to a party using the Studio Connect Call To widget (or TwiML Dial), we must use an alternative approach called "Human Detection".

    Human Detection requires the answering party to positively acknowledge the call by pressing any button – something voicemail cannot do. In this post, we will use Human Detection, to make sure voicemail remains on Twilio rather than inadvertently being left on the end-users device.

    Where might you need Human Detection?

    In my last post, Build Voice Mail with SMS and Email Notifications Using Twilio Studio, Functions, and SendGrid, …

    Read More
  • By Alan Klein
    Build Voice Mail with SMS and Email Notifications Using Twilio Studio, Functions, and SendGrid Studio Functions Voicemail

    I am a big fan of serverless Twilio Studio and Twilio Functions because of their flexibility.

    Studio provides you a canvas, letting you drag and drop communications flows into place – how perfect is that? And Functions lets you run Node.js without worrying about setting up a server or hosting.

    One common telephony requirement we see is the need to build out voicemail, should a dialed party be unable to answer the call. Often, you can improve the system by forwarding any recordings over email or SMS. So, let’s get our Bob Ross on and walk through building a solution!


    In order to follow this tutorial, you will need:

    Read More
  • By Lizzie Siegle
    Participate in Local Issues with a SMS Chatbot header image

    If you have opinions about how your city is run, it’s more important than ever to make your voice heard. This blog post will go over how to build a SMS chatbot using Twilio Autopilot, Twilio SendGrid, Twilio Functions, TwiML Bins, and JavaScript to engage in local civic issues. 

    One example might be San Francisco, where the city is planning to permanently cut 40 of 68 bus lines and free bus rides for youth

    In this blog post, concerned citizens can tell members of the San Francisco County Transportation Authority to not cut bus lines. Read on for a step-by-step process to build the bot, and you can text the +14153068517 number to see the example!

    SMS image

    Set Up your SMS Chatbot

    To follow along with this post, you need three things:

    Read More
  • Newer
    Sign up and start building
    Not ready yet? Talk to an expert.