MailCraft
Home Pricing Docs

Documentation

Everything you need to authenticate domains, send via REST or SMTP, and inspect delivery traces.

Getting Started 01

Quickstart Guide

Configure your first Mail Agent, verify a sending domain, and send your first transactional email in 5 minutes.

Integration 02

REST API Reference (/v1.1/email)

Complete guide to POST /v1.1/email, Idempotency-Key deduplication, HTTP 402 credit errors, and GET status polling.

Integration 03

SMTP Submission (Port 587 STARTTLS)

Connect Nodemailer, Python, Laravel, or any standard mail library using mandatory STARTTLS on port 587.

Deliverability 04

DNS Setup (DKIM, Bounce CNAME, SPF, DMARC)

Configure DKIM, Bounce CNAME (MX + SPF), SPF, and DMARC so Gmail, Outlook, and corporate mail servers trust your domain.

Integration 05

Webhooks & Inbound Parse

Receive signed HTTPS callbacks for delivered, bounced, opened and clicked emails, suppressions and inbound mail, and verify the MailCraft-Signature header.

SDKs & Plugins 10

Node.js / TypeScript SDK

Install @craftintertech/mailcraft and send your first email from Node.js, with safe automatic retries and webhook signature verification.

SDKs & Plugins 11

PHP SDK

Install craftintertech/mailcraft with Composer and send email from PHP 8.1+ — no Guzzle required.

SDKs & Plugins 12

Python SDK

Install the mailcraft package and send email from Python 3.9+ using only the standard library.

SDKs & Plugins 13

WordPress Plugin

Route every WordPress and WooCommerce email through MailCraft with a plugin you can set up in minutes.

Webhooks 14

Verify Webhook Signatures

Prove a webhook really came from MailCraft with HMAC-SHA256 — examples in Node.js, PHP and Python.