How-To Guides

Step-by-step guides for parsing emails, verifying signatures, handling attachments, and building email-to-webhook pipelines.

How to Send Email to a Webhook

Turn any inbound email into an HTTP POST request in minutes. JsonHook receives email at a custom address and delivers a parsed JSON payload to your webhook endpoint automatically.

How to Parse Email to JSON

Stop writing MIME parsers. JsonHook converts every inbound email into a clean, structured JSON object — headers, body, attachments, and all — delivered directly to your webhook.

How to Forward Email to an API Endpoint

Bridge the gap between email and your API. JsonHook listens for inbound email and forwards a parsed JSON payload to any HTTP endpoint — no polling, no custom mail server required.

How to Automate Email Processing with Webhooks

Replace manual email handling with a fully automated pipeline. JsonHook converts inbound email into webhook events your application can act on instantly — no polling, no manual sorting.

How to Extract Data from Emails Automatically

Pull order numbers, lead details, invoice totals, and any structured data out of inbound emails automatically. JsonHook delivers the parsed email as JSON so your code can extract exactly what it needs.

How to Receive Email in Your Backend Application

Your backend can receive email without running an SMTP server. JsonHook handles all email reception and delivers clean JSON to your existing API endpoints.

How to Convert Email to Structured JSON

Turn messy MIME email into a clean, consistent JSON object. JsonHook normalizes every field — headers, body, attachments — into the same predictable schema on every delivery.

How to Set Up an Inbound Email Webhook

Provision an inbound email address and start receiving structured JSON webhooks in minutes. No SMTP server, no MX record changes — just an API call and an HTTPS endpoint.

How to Parse Email Attachments

Access filename, size, content type, and downloadable content for every email attachment. JsonHook includes structured attachment metadata in every webhook payload.

How to Verify Webhook Signatures

Every JsonHook delivery includes an HMAC-SHA256 signature. Verifying it ensures only JsonHook can deliver to your endpoint — protecting against spoofed or tampered webhook requests.

How to Handle Email Bounces via Webhook

Automate bounce handling by routing bounce notification emails to your webhook. JsonHook parses bounce messages and delivers structured JSON so your app can update contact lists in real time.

How to Filter Inbound Emails Before Processing

Route emails to the right handler based on sender, subject, or any field in the JSON payload. Use per-address routing and handler-level filtering to build precise inbound email pipelines.

How to Process Email Headers

Every email header — standard and custom — is available in the JsonHook JSON payload. Extract routing metadata, authentication results, and custom application headers with a simple key lookup.

How to Parse MIME Email to JSON

MIME parsing is complex — nested multipart structures, multiple encoding schemes, and inconsistent client behavior. JsonHook handles all of it and delivers clean JSON to your endpoint.

How to Route Emails by Recipient Address

Different addresses, different webhooks. Create one JsonHook address per email flow and route each message to exactly the right handler — with no shared logic and no fragile subject parsing.

How to Set Up a Catch-All Email Webhook

Catch every email sent to any address at your domain — even addresses that do not formally exist. JsonHook can act as your catch-all SMTP handler, delivering all messages as structured JSON.

How to Forward Gmail to a Webhook

Turn your Gmail inbox into an automation trigger. Forward emails from Gmail to a JsonHook address and receive structured JSON webhooks for every message — no polling, no Gmail API OAuth required.

How to Monitor Email Deliveries

Every delivery attempt is logged. Query the JsonHook delivery log API to track success rates, investigate failures, and set up automated alerts for your email-to-webhook pipeline.

How to Test Email Webhooks

Test your email-to-webhook pipeline thoroughly before going live. Send real emails, use synthetic payloads, inspect delivery logs, and validate your handler in every environment.

How to Process HTML Email to Plain Text

Many emails arrive as HTML-only. Learn how to extract readable plain text from HTML email bodies so your application can process, display, or analyze email content reliably.

How to Extract Email Metadata

Every email carries rich metadata beyond its body. Extract timestamps, message IDs, sender authentication signals, and custom application headers from the JsonHook JSON payload.

How to Set Up an Email-to-API Pipeline

Build a complete pipeline from email inbox to API data in four layers: SMTP receipt, MIME parsing, webhook delivery, and API processing. JsonHook handles the first three.

How to Batch Process Emails with Webhooks

Handle hundreds of inbound emails per minute with a queued webhook architecture. Learn how to buffer deliveries, process in parallel workers, and bulk-write to your database efficiently.

How to Secure Your Webhook Endpoints

A public HTTPS endpoint that accepts POST requests from the internet needs multiple layers of security. Learn the complete security checklist for production JsonHook webhook endpoints.

How to Parse Email Threads

Reconstruct email conversation threads from webhook payloads using Message-ID, In-Reply-To, and References headers. Build a thread-aware email processing pipeline with JsonHook.

How to Handle Large Email Attachments

Large email attachments require special handling: size validation, async download, streaming to cloud storage, and content type verification. Learn the right patterns for production pipelines.

How to Set Up Email Alerts

Get notified in Slack, PagerDuty, or any channel when specific emails arrive at your inbound address. Build keyword-triggered alerts using JsonHook webhooks and simple content matching.

How to Automate Lead Capture from Email

Stop copying leads from email to your CRM by hand. JsonHook delivers lead notification emails as structured JSON so your pipeline can create CRM records automatically within seconds.

How to Convert Order Emails to JSON

Turn order confirmation emails from Shopify, WooCommerce, Amazon, or any e-commerce platform into structured JSON records automatically. JsonHook + webhook handler = no more manual order entry.

How to Handle Webhook Retries and Idempotency

JsonHook retries failed deliveries automatically. Learn how to make your webhook handler idempotent so retried deliveries are processed exactly once — no duplicates, no missed emails.