Skip to content
ParsedMail

Email parser Twilio integration for SMS lead alerts and replies

An email parser Twilio integration reads an incoming email, pulls out the phone number and the details that matter, and hands them to Twilio to send a text. With ParsedMail you forward lead, order or alert emails to an inbox address, a language model returns typed JSON with a phone field in E.164 format and a confidence score, and a Zapier, Make or n8n step (or your own webhook handler) calls the Twilio Messages API. A portal lead can get its first text in under a minute, without anyone opening the email.

Try a sample

No account or card. Demo emails are deleted after 24 hours.

Parse an email above, then compare plans and pricing or read the API docs.

Sales rep receiving an SMS alert generated from a parsed lead email

Why text from parsed emails instead of the raw email

Most lead portals, booking engines and monitoring tools still notify you by email. The phone number sits somewhere in a block of text, often in a different place for each sender. A forwarding rule that pushes the whole email into an SMS gives the recipient 900 characters of noise and costs several message segments. Parsing first means the text says exactly what the person needs, such as "New lead: Dana Ruiz, 3 bed in Austin, call +15125550147", and the customer gets a reply addressed to them by name.

Speed is the commercial reason. A buyer who filled in a form on three portals usually talks to whoever answers first. Agents and dispatchers who use this route stop checking the inbox and start acting on a text. The same parsing powers the lead email parsing workflow that writes the lead into a CRM at the same moment the SMS goes out.

What the parsed email looks like before it reaches Twilio

Here is a real shaped example. A portal sends "New inquiry from Dana Ruiz about 418 Oak Ridge Dr, phone (512) 555-0147, wants a showing Saturday morning". The inbox schema asks for five fields, and ParsedMail posts this event to your webhook:

{
  "type": "email.parsed",
  "data": {
    "id": "eml_7Hq2...",
    "needs_review": false,
    "confidence_avg": 0.97,
    "data": {
      "name": "Dana Ruiz",
      "phone": "+15125550147",
      "property": "418 Oak Ridge Dr",
      "request": "Showing Saturday morning",
      "source": "portal inquiry"
    }
  }
}

Asking for the phone "in E.164 format" in the field description is the important detail, because Twilio expects numbers like +15125550147 and rejects (512) 555-0147. The model normalizes the number as it reads it, and the confidence score tells you when it was unsure. The full payload and signature rules are in the webhook documentation.

Three ways to send the SMS

RouteSetup timeBest forWhat to watch
Zapier: ParsedMail webhook to Twilio Send SMSAbout 15 minutesTeams without a developerEach run uses Zapier tasks, add a filter step on needs_review
Make or n8n: webhook module to Twilio moduleAbout 20 minutesBranching, for example text the agent and the customerRouter conditions for missing phone numbers
Your webhook handler calls the Twilio APIAn hour with testsHigh volume or custom routingVerify the HMAC signature and dedupe on the Idempotency-Key

The no-code routes are described in the Zapier integration and Make integration guides. For the code route, the handler is short. After checking the signature, send a POST to the Messages endpoint with To, From and Body, as shown in the Twilio Message resource reference:

if ($event['data']['needs_review'] === false && !empty($f['phone'])) {
    $twilio->messages->create($f['phone'], [
        'from' => '+15125550100',
        'body' => "Hi {$f['name']}, thanks for asking about {$f['property']}. "
                . "Can we confirm {$f['request']}? Reply YES.",
    ]);
}

Deliveries are retried 5 times over about 15 hours if your endpoint is down, and the Idempotency-Key header stops a retry from texting the same customer twice.

Common email to SMS workflows

Incoming emailFields parsedText sent
Real estate portal inquiryname, phone, property, requestInstant reply to the buyer, alert to the listing agent
Web form or ad lead notificationname, phone, service, zipAlert to the rep on rotation with a call link
Booking confirmation from a platformguest, phone, date, unitCheck-in instructions the day before
Freight tender or load offerlane, pickup date, rate, broker contactAlert to the dispatcher on duty
Monitoring or system alert emailsystem, severity, messagePage the on-call person only for high severity

Each row is a schema you write once. Real estate teams usually start with the first row, and the real estate lead parser comparison covers the portals that send these emails. Bookings and freight have their own pages for booking emails and freight tenders.

Compliance before you text customers

Texting a lead who asked to be contacted is normal practice, but US carriers require business numbers that send application to person traffic over 10 digit long codes to be registered for A2P 10DLC. Twilio explains the process in its A2P 10DLC guide. Register the brand and campaign before you go live, keep a STOP reply in the first message, and send alerts to your own staff from the same registered number. ParsedMail does not send SMS itself, so the number, the consent records and the message content stay in your Twilio account.

What it costs to run

ParsedMail Starter is $49 a month or $24 billed yearly for 1,000 emails and 300 attachment pages. Growth is $149 or $74 yearly for 5,000 emails and 2,000 pages and adds a review queue, so doubtful leads wait for a person instead of getting a text. Twilio bills its messages separately on your own account. A team that receives 400 portal leads a month fits Starter, and if one extra closed deal a quarter comes from replying first, the plan has paid for itself many times. If the leads come from search, the agency that runs the campaigns (for example Agencyseo) fills the top of the funnel, and fast replies decide how much of it turns into revenue. Every limit is on the pricing page.

Frequently asked questions

Can an email parser send SMS through Twilio?

Yes. The parser extracts the phone number and details from each email, then a Zapier, Make or n8n step, or your own webhook handler, calls the Twilio Messages API. ParsedMail returns the phone already in E.164 format, which is the form Twilio accepts.

How do I send a text when I receive an email?

Forward the email to a ParsedMail inbox, connect its webhook to a Twilio Send SMS action in Zapier or Make, and map the phone and name fields into the message. Add a filter so only emails with a confident phone number trigger a text.

Does ParsedMail send the SMS itself?

No. ParsedMail parses the email and posts typed JSON to your webhook or automation tool. The text is sent from your Twilio account and number, so consent, registration and message costs stay under your control.

What happens if the phone number is missing or unclear?

The field comes back empty or with a low confidence score, and needs_review is set to true. Filter on that flag so no text goes out, and route the email to a person or to the Growth review queue instead.

Will a retry text the same customer twice?

Not if you deduplicate. Every delivery carries an Idempotency-Key header and the email ID, so store the ID when you send the text and skip any delivery you have already handled.

Related

See your own email as JSON

Paste one into the demo, describe the fields and look at the result. No account needed.