SendGrid has a host of flexible APIs to help you extend and customize the platform to your needs. Included in your API toolbox is the SMTP API. The SMTP API is a header included in messages sent to SendGrid that allows you to use templated messages, deliver custom handling instructions and include increased tracking and analytics information. This is accomplished through an X-SMTPAPI header that is inserted into the message. The header is a JSON encoded list of instructions and options for that email. With the SMTP API, you can do the following:

• Tag your emails so you can get detailed statistics on each tag
• Send multiple customized emails in one request via a mail merge
• Configure each app on a per email basis
• Deliver dynamic content to your recipients in each email
• Customize filtering instructions to control the amount and type of data you receive from each email stream

An example of the above is the use the SMTP API to turn on/off email filters for select email streams. For instance, you can remove unsubscribe functionality from the footer of internal system alert emails and to turn off click through data.

To learn more about what other APIs are available, download the SendGrid API Guide.

With more than 15 years of experience, Carly Brantz is an email deliverability and inbound marketing veteran. As the VP of Revenue Marketing at SendGrid, Carly empowers her team to transform marketing from a cost center to a revenue generator. With a key focus on funnel optimization, Carly leads the team responsible for content creation, lead nurturing, SEO/SEM, and website optimization. An accomplished speaker, Carly shares her email delivery and revenue marketing tactics as a headline speaker on SendGrid’s international roadshow as well as other Marketing conferences.