Skip to contentSkip to navigationSkip to topbar
On this page

Setting Up The Inbound Parse Webhook


As you're probably aware, SendGrid is great at sending your email, but SendGrid can also help you process email using the Inbound Parse Webhook. The Inbound Parse Webhook processes all incoming email for a domain or subdomain, parses the contents and attachments then POSTs multipart/form-data to a URL that you choose.

(information)

Info

XML is only available in v2.

What your application does with this parsed data is up to you. For some ideas of what the Inbound Parse Webhook can do, check out this blog post(link takes you to an external page), and see this blog post about how to create a microservice for handling SendGrid inbound parse(link takes you to an external page).

(information)

Info

Check out some pre-made integrations for the SendGrid Inbound Parse Webhook in the Library Index.

To begin processing email using SendGrid's Inbound Parse Webhook, you will have to setup MX Records, choose the hostname (or receiving domain) that will be receiving the emails you want to parse, and define the URL where you want to POST your parsed emails.


Set up an MX Record

set-up-an-mx-record page anchor
  1. Navigate to the MX Records page on your hosting provider's website. If you're unsure who your hosting or DNS provider is, please contact your website administrator.
  2. Create a new MX record for the subdomain (e.g. parse.yourdomain.com) you want to process incoming email.
(information)

Info

This hostname should be used exclusively to parse your incoming email.

(warning)

Warning

Do not change the MX record for your domain. If you do, you will no longer receive email.

  1. Assign the MX record a priority of 10, and point it to the address: mx.sendgrid.net.

It should look something like this:

Inbound_Parse_01_MX_Record.
(information)

Info

If there is no field for priority, type 10 before the address. e.g. 10 mx.sendgrid.net.


Point to a Hostname and URL

point-to-a-hostname-and-url page anchor
  1. From your SendGrid Dashboard click Settings , and then click Inbound Parse . You are now on the Inbound Parse page.
  2. Click Add Host & URL .

Here you will specify the subdomain and root domain of the receiving domain (or hostname). All emails sent to this receiving domain will be parsed.

If you use the same return path (subdomain) as your authenticated domain, you must have Automatic Security disabled on the authenticated domain. Otherwise, those messages will bounce due to an infinite CNAME>MX loop.

(information)

Info

The URL must be accessible from the public web.

  1. Enter the subdomain (for example, "parse") and select the authenticated root domain for your receiving domain. Enter the public URL where you would like the parsed data to be POST ed.
Setting up inbound parse.
  1. (Optional) Check Spam Check if you want Inbound Parse to check incoming email 2.5MB and under for spam. Checking this box will also include the spam report and spam score in the payload. Mail over 2.5MB is highly unlikely to be spam and will receive a SendGrid generated report indicating it's not spam.
  2. (Optional) Check Send Raw if you would prefer to receive the full MIME message URL encoded in multipart/form-data.
(warning)

Warning

If you do not check Send Raw, the post will be multipart/form-data with the email content URL encoded, but the attachments will be in multipart/form-data. If your code is only set up to read URL encoding, attachments could be dropped.

  1. Click Save.

You have just finished configuring Inbound Parse!


To test if everything is working, send an email from your email account to example@example.com.

(information)

Info

The local-part (i.e. anything before @) can be any* word or combination (except "abuse", "postmaster" and "unsubscribe") because all email for the domain or subdomain will be processed.

*There are three reserved local-parts that must not be used: "abuse", "postmaster", and "unsubscribe" (e.g. abuse@subdomain.domain.com, postmaster@subdomain.domain.com, and unsubscribe@subdomain.domain.com are not allowed.)

(warning)

Warning

Remember to direct your incoming email to your hostname (for example, example@example.com). If you do not, your incoming email will not be parsed.


ParameterDescription
headersThe raw headers of the email.
dkimA string containing the verification results of any DKIM and domain keys signatures in the message.
content-idsA string containing the number of attachments.
toEmail recipient field, as taken from the message headers.
textEmail body in plaintext formatting.
htmlHTML body of email. If not set, email did not have an HTML body.
fromEmail sender, as taken from the message headers.
sender_ipA string of the sender's ip address.
spam_reportSpam Assassin's spam report.
envelopeA string containing the SMTP envelope. This will have 2 variables: to, which is a single-element array containing the address that we received the email to, and from, which is the return path for the message.
attachmentsNumber of attachments included in email.
subjectEmail Subject.
spam_scoreSpam Assassin's rating for whether or not this is spam.
attachment-infoA JSON map where the keys are named attachment{X}. Each attachment key points to a JSON object containing three fields, filename, type, and content-id. The filename field is the name of the file (if it was provided). The type field is the media type(link takes you to an external page) of the file. X is the total number of attachments. For example, if the number of attachments is 0, there will be no attachment files. If the number of attachments is 3, parameters attachment1, attachment2, and attachment3 will have file uploads.
charsetsA string containing the character sets of the fields extracted from the message.
SPFThe results of the Sender Policy Framework verification of the message sender and receiving IP address.

1
[Date] array(16) {
2
["headers"]=>
3
string(1970) "Received: by mx0047p1mdw1.sendgrid.net with SMTP id 6WCVv7KAWn Wed, 27 Jul 2016 20:53:06 +0000 (UTC)
4
Received: from mail-io0-f169.google.com (mail-io0-f169.google.com [209.85.223.169]) by mx0047p1mdw1.sendgrid.net (Postfix) with ESMTPS id AA9FFA817F2 for <example@example.com>; Wed, 27 Jul 2016 20:53:06 +0000 (UTC)
5
Received: by mail-io0-f169.google.com with SMTP id b62so81593819iod.3 for <example@example.com>; Wed, 27 Jul 2016 13:53:06 -0700 (PDT)
6
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sendgrid.com; s=ga1; h=mime-version:from:date:message-id:subject:to; bh=DpB1CYYeumytcPF3q0Upvx3Sq/oF4ZblEwnuVzFwqGI=; b=GH5YTxjt6r4HoTa+94w6ZGQszFQSgegF+Jlv69YV76OLycJI4Gxdwfh6Wlqfez5yID 5dsWuqaVJZQyMq/Dy/c2gHSqVo60BKG56YrynYeSrMPy8abE/6/muPilYxDoPoEyIr/c UXH5rhOKjmJ7nICKu1o99Tfl0cXyCskE7ERW0=
7
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=DpB1CYYeumytcPF3q0Upvx3Sq/oF4ZblEwnuVzFwqGI=; b=Sq6LVHbmywBdt3sTBn19U8VOmelfoJltz8IcnvcETZsYwk96RBxN+RKMN5fOZSKw4j 15HrgdIFfyDmp67YK0ygvOITlTvZ6XY5I0PtnvDtAQt79kS3tKjI3QKJoEp/ZjIjSzlL KG7agl6cxFgBbIN0yHWBOvy3O+ZXY8tZdom1yOvULjmjW1U9JkdOs+aJ6zq4qhZX/RM/ tIgLB461eJ5V95iQDDc5Ibj9Cvy4vJfXLQRO0nLVQAT2Yz58tkEO1bDZpWOPAyUNneIL yhIWp+SpbuqhMA68mq0krG1PjmWalUbpVcGJIGuOKB9mQFFo/MqdrUCjvYnyo1jPLPeX psdQ==
8
X-Gm-Message-State: AEkoousvdxmDoxLlTUYJ1AOmCGJv77xRBBlfKv6YrthH0M2NueMwlOxUD6t8nidE9uonXbdJ/DQy/chmHUnN//a4
9
X-Received: by 10.107.6.101 with SMTP id 98mr38024553iog.41.1469652785829; Wed, 27 Jul 2016 13:53:05 -0700 (PDT)
10
MIME-Version: 1.0
11
Received: by 10.107.48.17 with HTTP; Wed, 27 Jul 2016 13:53:05 -0700 (PDT)
12
From: Sender Name <example@example.com>
13
Date: Wed, 27 Jul 2016 14:53:05 -0600
14
Message-ID: <CAN_P_JMvV7ZpAQhOnDienypLrJmuhN=LQWweu4yScw4jQyXY2w@mail.gmail.com>
15
Subject: Different File Types
16
To: example@example.com
17
Content-Type: multipart/mixed; boundary=001a113f8ad03e85160538a4343c
18
"
19
["dkim"]=>
20
string(22) "{@sendgrid.com : pass}"
21
["content-ids"]=>
22
string(37) "{"ii_1562e2169c132d83":"attachment1"}"
23
["to"]=>
24
string(26) "example@example.com"
25
["html"]=>
26
string(479) "<div dir="ltr">Here&#39;s an email with multiple attachments<div> </div><div><img src="cid:ii_1562e2169c132d83" alt="Inline image 1" width="455" height="544"><br clear="all"><div></div>-- <div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><img src="https://sendgrid.com/brand/sg-logo-email.png" width="96" height="17"><div></div></div></div></div></div>"
27
["from"]=>
28
string(33) "Sender Name example@example.com"
29
["text"]=>
30
string(139) "Here's an email with multiple attachments"
31
["sender_ip"]=>
32
string(14) "209.85.223.169"
33
["spam_report"]=>
34
string(844) "Spam detection software, running on the system "mx0047p1mdw1.sendgrid.net", has
35
identified this incoming email as possible spam. The original message
36
has been attached to this so you can view it (if it isn't spam) or label
37
similar future email. If you have any questions, see
38
@@CONTACT_ADDRESS@@ for details.
39
40
Content preview: Here's an email with multiple attachments [image: Inline image1] -- [...]
41
42
Content analysis details: (2.6 points, 5.0 required)
43
44
pts rule name description
45
---- ---------------------- --------------------------------------------------
46
0.8 HTML_IMAGE_RATIO_02 BODY: HTML has a low ratio of text to image area
47
0.0 HTML_MESSAGE BODY: HTML included in message
48
1.8 HTML_IMAGE_ONLY_08 BODY: HTML: images with 400-800 bytes of words
49
0.0 T_MIME_NO_TEXT No text body parts
50
51
"
52
["envelope"]=>
53
string(66) "{"to":["example@example.com"],"from":"example@example.com"}"
54
["attachments"]=>
55
string(1) "2"
56
["subject"]=>
57
string(20) "Different File Types"
58
["spam_score"]=>
59
string(5) "2.597"
60
["attachment-info"]=>
61
string(287) "{"attachment2":{"filename":"DockMcWordface.docx","name":"DockMcWordface.docx","type":"application/vnd.openxmlformats-officedocument.wordprocessingml.document"},"attachment1":{"filename":"MG_2359.jpg","name":"_MG_2359.jpg","type":"image/jpeg","content-id":"ii_1562e2169c132d83"}}"
62
["charsets"]=>
63
string(77) "{"to":"UTF-8","html":"UTF-8","subject":"UTF-8","from":"UTF-8","text":"UTF-8"}"
64
["SPF"]=>
65
string(4) "pass"
66
}
67
68

ParameterDescription
dkimA string containing the verification results of any DKIM and domain keys signatures in the message.
EmailA string containing the email headers, date, body, and attachments
ToEmail recipient field as taken from the message headers.
ccEmail cc field, as taken from the message headers.
FromEmail sender, as taken from the message headers.
TextEmail body in plaintext formatting.
htmlHTML body of email. If not set, email did not have an HTML body.
Sender IPEmail sender IP address.
Spam ReportSpam Assassin's spam report.
EnvelopeA string containing the SMTP envelope. This will have 2 variables: to, which is an single-element array containing the addresses that received the email, and from, which is the return path for the message.
SubjectEmail subject.
Spam_ScoreSpam Assassin's rating for whether or not this is spam.
CharsetsA string containing the character sets of the fields extracted from the message.
SPFThe results of the Sender Policy Framework verification of the message sender and receiving IP address.
(information)

Info

We recommend limiting the total size of your message, including the message itself and all attachments, to 30MB. Be aware that other mail handlers will have their own limitations, and some ISPs and companies may either dramatically limit the size and/or type of attachments, or even block them altogether.


1
array(11) {
2
["dkim"]=>
3
string(22) "{@sendgrid.com : pass}"
4
["email"]=>
5
string(8879) "Received: by mx0032p1mdw1.sendgrid.net with SMTP id rOkt2xLLKV Tue, 19 Jul 2016 15:06:29 +0000 (UTC)
6
Received: from mail-it0-f45.google.com (mail-it0-f45.google.com [209.85.214.45]) by mx0032p1mdw1.sendgrid.net (Postfix) with ESMTPS id 26D6080397 for <parse@parse.yourdomain>; Tue, 19 Jul 2016 15:06:22 +0000 (UTC)
7
Received: by mail-it0-f45.google.com with SMTP id f6so93587860ith.1 for <example@example.com>; Tue, 19 Jul 2016 08:06:22 -0700 (PDT)
8
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sendgrid.com; s=ga1; h=mime-version:from:date:message-id:subject:to; bh=UYWCIUKTVXyV9U41l+c9+qOlpoeQGcJkKpyOAatNr3Y=; b=c1I/LcqHEJklmAThWr9Z8NKlTPHUlE/8sDSpK382fJtIQcGdUtczG0pijnUHegrFVt FDr4NehtJDD9KFvXLXboLCtObsu5HTN99ckUCCZTibZseA+J8U3jjCqTdj1fmUage5C7 //Iwi0Ndioonzhm18J7KStap66yZ69ED7UxPk=
9
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=UYWCIUKTVXyV9U41l+c9+qOlpoeQGcJkKpyOAatNr3Y=; b=lgmLXnmmpNcQMckjshsZsa2/8OjFZzntWYSG5XZo0fi32KHLuBLSHuNDFXn0V4ICp1 1xuT2fZCyhBSgNBiWNbjqFspdemzrBjaI1Tgm/Zz8Fv6wW2XdjpoANNQzJxfdhnecPd5 HvZ5P8+KTqjr4tAa9RmLthDc3UqhV9NRnCnhbW/AZaVQLB8eoJus92tD1GeXpBQml5XF m6vPUGrWGZWNugINkRKxIpk+2uECglAjNm4NpZIi9j7N94CxA18RC4NJ59WIsSybtIer hbCgT1Q13rvGEzvnp6FfFQVbE3DOibNqd0bh/EvZCagFVbnenNc/Q+qHtU9KqFlisSOp xh0w==
10
X-Gm-Message-State: ALyK8tINVaZIP8YCgQbpg5ya8EnqQo76uxkXUPpDnM+kAyAQQzehFU10EgyuAe2fAmWf/muBiFDy0JDU74Eclp1/
11
X-Received: by 10.36.76.16 with SMTP id a16mr4479786itb.77.1468940781988; Tue, 19 Jul 2016 08:06:21 -0700 (PDT)
12
MIME-Version: 1.0
13
Received: by 10.107.48.17 with HTTP; Tue, 19 Jul 2016 08:06:21 -0700 (PDT)
14
From: Sender Name <example@example.com>
15
Date: Tue, 19 Jul 2016 09:06:21 -0600
16
Message-ID: <CAN_P_JNa25--hzm5=-ES9cnxgWa+h+E49OOAS7sPpV0gsoXCOw@mail.gmail.com>
17
Subject: Hello
18
To: example@example.com
19
Content-Type: multipart/mixed; boundary=001a11447dc881e40f0537fe6d5a
20
21
--001a11447dc881e40f0537fe6d5a
22
Content-Type: multipart/alternative; boundary=001a11447dc881e40b0537fe6d58
23
24
--001a11447dc881e40b0537fe6d58
25
Content-Type: text/plain; charset=UTF-8
26
27
This is a test email with 1 attachment.
28
29
--001a11447dc881e40b0537fe6d58
30
Content-Type: text/html; charset=UTF-8
31
Content-Transfer-Encoding: quoted-printable
32
33
<div dir=3D"ltr">This is a test email with 1 attachment.<br clear=3D"all"><=
34
div> </div>-- <div class=3D"gmail_signature" data-smartmail=3D"gmail=
35
_signature"><div dir=3D"ltr"><img src=3D"https://sendgrid.com/brand/sg-logo=
36
-email.png" width=3D"96" height=3D"17"> <div> </div></div></div>
37
</div>
38
39
--001a11447dc881e40b0537fe6d58--
40
41
--001a11447dc881e40f0537fe6d5a
42
Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document;
43
name="DockMcWordface.docx"
44
Content-Disposition: attachment; filename="DockMcWordface.docx"
45
Content-Transfer-Encoding: base64
46
X-Attachment-Id: f_iqtleujy0
47
48
UEsDBBQACAgIAHc+80gAAAAAAAAAAAAAAAASAAAAd29yZC9udW1iZXJpbmcu
49
eG1spZJBboMwEEVP0Dsg7xNIF1WFQrNo1G66a3uAiTFgxfZYYwPN7euEAC2V
50
KkpXCMb//e/hb3cfWkWNICfRZGyzTlgkDMdcmjJj729Pq3sWOQ8m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AAAAAKgUAAHdvcmQvc3R5bGVzLnhtbFBLAQIUABQACAgIAHc+
137
80jh9C1mDQIAAJgGAAARAAAAAAAAAAAAAAAAANoIAAB3b3JkL2RvY3VtZW50
138
LnhtbFBLAQIUABQACAgIAHc+80hjhZ0d4QAAAKgCAAAcAAAAAAAAAAAAAAAA
139
ACYLAAB3b3JkL19yZWxzL2RvY3VtZW50LnhtbC5yZWxzUEsBAhQAFAAICAgA
140
dz7zSC1ozyKxAAAAKgEAAAsAAAAAAAAAAAAAAAAAUQwAAF9yZWxzLy5yZWxz
141
UEsBAhQAFAAICAgAdz7zSAD+7s4fAQAAugMAABMAAAAAAAAAAAAAAAAAOw0A
142
AFtDb250ZW50X1R5cGVzXS54bWxQSwUGAAAAAAgACAD/AQAAmw4AAAAA
143
144
--001a11447dc881e40f0537fe6d5a--
145
"
146
["to"]=>
147
string(22) "example@example.com"
148
["from"]=>
149
string(33) "Sender Name <example@example.com>"
150
["sender_ip"]=>
151
string(13) "209.85.214.45"
152
["spam_report"]=>
153
string(798) "Spam detection software, running on the system "mx0032p1mdw1.sendgrid.net", has
154
identified this incoming email as possible spam. The original message
155
has been attached to this so you can view it (if it isn't spam) or label
156
similar future email. If you have any questions, see
157
@@CONTACT_ADDRESS@@ for details.
158
159
Content preview: This is a test email with 1 attachment.
160
Content analysis details: (0.4 points, 5.0 required)
161
162
pts rule name description
163
---- ---------------------- --------------------------------------------------
164
0.0 HTML_MESSAGE BODY: HTML included in message
165
0.3 HTML_IMAGE_ONLY_04 BODY: HTML: images with 0-400 bytes of words
166
0.0 T_MIME_NO_TEXT No text body parts
167
168
"
169
["envelope"]=>
170
string(73) "{"to":["example@example.com"],"from":"example@example.com"}"
171
["subject"]=>
172
string(5) "Hello"
173
["spam_score"]=>
174
string(5) "0.353"
175
["charsets"]=>
176
string(47) "{"to":"UTF-8","subject":"UTF-8","from":"UTF-8"}"
177
["SPF"]=>
178
string(4) "pass"
179
}

  • Parse API - Manage Inbound Parse Webhook settings using the Parse API (Web API v3).
  • Parse Settings Subuser - Get current Parse settings and create, edit, and delete entries using the Subuser API (Web API v2).
  • Reseller API Parse Settings - Get current Parse settings and create, edit, and delete entries using the Reseller API (Web API v2).
  • Reseller Customer Subuser Parse Settings - Get current Parse settings and create, edit, and delete entries using the Reseller Customer Subuser API (Web API v2).

Statistics

statistics page anchor

SendGrid provides statistics(link takes you to an external page) of how many emails are parsed over time. You can specify what is displayed on the graph by adjusting the statistics filters.

For more information, please see Parse Webhook Stats.

Need some help?

Terms of service

Copyright © 2024 Twilio Inc.