diff --git a/CHANGELOG.md b/CHANGELOG.md
index f4fc017..6a5e06f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
---
+## [0.9.2] - 2026-10-21
+
+### Added
+- **Pricing page** at `/pricing`: the plan cards and calculator, plus every plan limit side by side, what's included on every plan, and a pricing FAQ
+- **Compare page** at `/compare`: the full feature comparison with Resend, SendGrid, Postmark and Amazon SES, when each is the better fit, and how to switch
+- **Receiving page** at `/receiving`: how receiving works, what people build with it (reply by email, invoice parsing, support inboxes, polling the API) and each plan's allowance
+- **Free DMARC checker** at `/tools/dmarc`: check any domain's DMARC record, see what's wrong in plain language, and get a record to publish
+- **Free SPF and DKIM checkers** at `/tools/spf` and `/tools/dkim`, with a `/tools` page listing all three. SPF counts DNS lookups through every include against the limit of 10; DKIM finds keys under common selectors and checks their strength
+- **SMTP relay page** at `/smtp`: connection settings and ready-to-paste setup for Node, Laravel, Django, Rails and WordPress
+- **Open source page** at `/open-source`: what the AGPL means for you, how to run ByteSend yourself, and how cloud and self-hosted compare
+- **Security page** at `/security`: how your account, email and data are protected, who processes your data, and how to report a vulnerability
+- **Receiving in the TypeScript SDK** (`bytesend-js` 0.2.0): `bytesend.inbound.list()`, `get()` and `downloadAttachment()`, with `email.received` webhooks verified and typed through `bytesend.webhooks()`
+
+### Changed
+- The website footer is grouped into Product, Features, Free tools, Resources and Company
+
+### Fixed
+- The DPA and privacy policy list the same sub-processors: NodeByte Hosting, Amazon Web Services (now including S3 for received email), Stripe and Simple Analytics
+
+---
+
## [0.9.1] - 2026-10-21
### Added
@@ -1055,7 +1076,8 @@ Initial public beta release of ByteSend: an all-in-one email infrastructure plat
---
-[Unreleased]: https://github.com/ByteSendApp/ByteSend/compare/v0.9.1...HEAD
+[Unreleased]: https://github.com/ByteSendApp/ByteSend/compare/v0.9.2...HEAD
+[0.9.2]: https://github.com/ByteSendApp/ByteSend/compare/v0.9.1...v0.9.2
[0.9.1]: https://github.com/ByteSendApp/ByteSend/compare/v0.9.0...v0.9.1
[0.9.0]: https://github.com/ByteSendApp/ByteSend/compare/v0.8.0...v0.9.0
[0.8.0]: https://github.com/ByteSendApp/ByteSend/compare/v0.7.0...v0.8.0
diff --git a/apps/docs/guides/inbound-email.mdx b/apps/docs/guides/inbound-email.mdx
index 4360359..0d52d80 100644
--- a/apps/docs/guides/inbound-email.mdx
+++ b/apps/docs/guides/inbound-email.mdx
@@ -93,20 +93,58 @@ Add a webhook and choose the **email.received** event (under *Inbound events*).
- **Authentication:** `spf`, `dkim` and `dmarc` say whether the sender is who they claim to be. Be careful acting on mail where these are `fail`. Messages with a virus are kept but never forwarded.
- Verify the webhook's signature as described in [Webhooks](/guides/webhooks#signature-verification).
+With the TypeScript SDK (`bytesend-js` 0.2 or later), the event is verified and typed for you:
+
+```ts
+import { ByteSend } from "bytesend-js";
+
+const webhooks = new ByteSend("bs_...").webhooks(process.env.BYTESEND_WEBHOOK_SECRET!);
+
+export async function POST(request: Request) {
+ const event = webhooks.constructEvent(await request.text(), { headers: request.headers });
+
+ if (event.type === "email.received" && event.data.inReplyToEmailId) {
+ await comments.create({ thread: event.data.inReplyToEmailId, body: event.data.text });
+ }
+
+ return new Response("ok");
+}
+```
+
## Fetching received mail from the API
-```bash
+
+
+```ts Node.js
+const { data } = await bytesend.inbound.list({ limit: 20 });
+```
+
+```bash cURL
curl https://bytesend.cloud/api/v1/inbound/emails?limit=20 \
-H "Authorization: Bearer bs_..."
```
+
+
Filter with `recipient`, `since` (an ISO 8601 time) and `page`. Get one message, including its text, HTML and attachment links:
-```bash
+
+
+```ts Node.js
+const { data: email } = await bytesend.inbound.get("inb_4f1c2a9e8d7b6a5c4f3e2d1c");
+
+for (const attachment of email!.attachments) {
+ const file = await bytesend.inbound.downloadAttachment(attachment);
+}
+```
+
+```bash cURL
curl https://bytesend.cloud/api/v1/inbound/emails/inb_4f1c2a9e8d7b6a5c4f3e2d1c \
-H "Authorization: Bearer bs_..."
```
+
+
API keys limited to one domain only see mail received on that domain.
## Forwarding
diff --git a/apps/web/src/app/(marketing)/compare/page.tsx b/apps/web/src/app/(marketing)/compare/page.tsx
new file mode 100644
index 0000000..b5767e6
--- /dev/null
+++ b/apps/web/src/app/(marketing)/compare/page.tsx
@@ -0,0 +1,190 @@
+import type { Metadata } from "next";
+import Link from "next/link";
+import { notFound } from "next/navigation";
+import { ArrowRight } from "lucide-react";
+import { Button } from "@bytesend/ui/src/button";
+import { CallToAction } from "~/components/marketing/CallToAction";
+import { ComparisonGrid } from "~/components/marketing/Comparison";
+import { Reveal } from "~/components/marketing/Reveal";
+import { HairlineGrid, Section, SectionHeader } from "~/components/marketing/Section";
+import { highlightCode } from "~/lib/highlighter";
+import { isCloud } from "~/utils/common";
+
+export const metadata: Metadata = {
+ title: "ByteSend vs Resend, SendGrid, Postmark and Amazon SES",
+ description:
+ "An honest comparison of ByteSend with Resend, SendGrid, Postmark and sending through Amazon SES directly: features, free tiers, and when each one is the better fit.",
+ alternates: { canonical: "https://bytesend.cloud/compare" },
+};
+
+const PROVIDERS = [
+ {
+ name: "Resend",
+ them: "You want React Email built in from the people who created it, and a polished, developer-first API.",
+ us: "You want the same developer experience with open source code you can self-host, receiving that's out of beta, DMARC reports, and pricing in your own currency.",
+ },
+ {
+ name: "SendGrid",
+ them: "You need a long-established provider with enterprise contracts, or you already run on Twilio.",
+ us: "You want a simpler product with a permanent free tier instead of a trial, clear pay-as-you-go pricing, and code you can read and run yourself.",
+ },
+ {
+ name: "Postmark",
+ them: "You only send transactional email and want a provider focused on nothing else.",
+ us: "You send marketing email too, with a visual editor and contact books, and want 5,000 free emails a month to start instead of 100.",
+ },
+ {
+ name: "Amazon SES",
+ them: "You have engineers to build bounce handling, suppression lists, dashboards and webhooks yourself, and want the lowest possible raw price.",
+ us: "You want all of that already built on top of SES. ByteSend runs on SES, so you can also self-host it on your own AWS account.",
+ },
+];
+
+const BEFORE = `import { Resend } from "resend";
+
+const resend = new Resend("re_••••••••");
+
+await resend.emails.send({
+ from: "hello@yourapp.com",
+ to: "jane@example.com",
+ subject: "Welcome",
+ html: "
Thanks for signing up!
",
+});`;
+
+const AFTER = `import { ByteSend } from "bytesend-js";
+
+const bytesend = new ByteSend("bs_••••••••");
+
+await bytesend.emails.send({
+ from: "hello@yourapp.com",
+ to: "jane@example.com",
+ subject: "Welcome",
+ html: "
Thanks for signing up!
",
+});`;
+
+const STEPS = [
+ {
+ title: "Add your domain",
+ text: "Add the DNS records we show you. If your domain is on Cloudflare, paste an API token and we add them for you.",
+ },
+ {
+ title: "Swap your API key or SMTP settings",
+ text: "Use our SDK or REST API, or point your existing SMTP setup at smtp.bytesend.cloud on port 587 or 465, with the username from Settings → SMTP and an API key as the password.",
+ },
+ {
+ title: "Test without sending",
+ text: "A test API key simulates deliveries, bounces and complaints, with real webhooks, so you can check your integration before any mail goes out.",
+ },
+ {
+ title: "Point your webhooks at ByteSend's events",
+ text: "email.delivered, email.bounced, email.complained and the rest arrive signed, with retries. The SDK verifies and types them for you.",
+ },
+];
+
+export default async function ComparePage() {
+ if (!isCloud()) notFound();
+
+ const themes = { dark: "catppuccin-mocha", light: "catppuccin-latte" } as const;
+ const [beforeHtml, afterHtml] = await Promise.all([
+ highlightCode(BEFORE, { lang: "ts", themes }).catch(() => ""),
+ highlightCode(AFTER, { lang: "ts", themes }).catch(() => ""),
+ ]);
+
+ return (
+
+
+
+
+
Compare
+
ByteSend and the alternatives
+
+ Every email provider is good at something. Here's an honest look at where ByteSend fits next to Resend, SendGrid, Postmark and
+ sending through Amazon SES yourself.
+
diff --git a/apps/web/src/app/(marketing)/open-source/page.tsx b/apps/web/src/app/(marketing)/open-source/page.tsx
new file mode 100644
index 0000000..740f23c
--- /dev/null
+++ b/apps/web/src/app/(marketing)/open-source/page.tsx
@@ -0,0 +1,154 @@
+import type { Metadata } from "next";
+import Link from "next/link";
+import { notFound } from "next/navigation";
+import { ArrowRight } from "lucide-react";
+import { FaGithub } from "react-icons/fa6";
+import { Button } from "@bytesend/ui/src/button";
+import { CallToAction } from "~/components/marketing/CallToAction";
+import { Reveal } from "~/components/marketing/Reveal";
+import { HairlineGrid, Section, SectionHeader } from "~/components/marketing/Section";
+import { highlightCode } from "~/lib/highlighter";
+import { isCloud } from "~/utils/common";
+
+export const metadata: Metadata = {
+ title: "Open source email platform – ByteSend",
+ description:
+ "ByteSend is open source under the AGPL-3.0. Read every line, run it on your own servers with your own Amazon SES account, or use our cloud. Same code either way.",
+ alternates: { canonical: "https://bytesend.cloud/open-source" },
+};
+
+const GITHUB = "https://github.com/ByteSendApp/ByteSend";
+const SELF_HOSTING_DOCS = "https://docs.bytesend.cloud/self-hosting/overview";
+
+const QUICK_START = `git clone https://github.com/ByteSendApp/ByteSend.git
+cd ByteSend
+cp docker/prod/.env.example docker/prod/.env
+docker compose -f docker/prod/compose.yml --env-file docker/prod/.env up -d`;
+
+const REASONS = [
+ { title: "Read every line", text: "The sending pipeline, the dashboard, the API and the SDKs are all public. Nothing about how your email is handled is hidden." },
+ { title: "No lock-in", text: "If you ever want to leave our cloud, run the same software yourself. Your integration only needs a new base URL." },
+ { title: "Your data, your servers", text: "Self-hosted, your email, contacts and logs never leave your infrastructure, and you send through your own SES account." },
+ { title: "Built in the open", text: "Issues, pull requests and the roadmap happen on GitHub, and every release is in the changelog." },
+];
+
+const COMPARE = [
+ { label: "Where it runs", cloud: "Our infrastructure", self: "Your servers" },
+ { label: "Sending", cloud: "Through our Amazon SES accounts", self: "Through your own Amazon SES account" },
+ { label: "Cost", cloud: "Free up to 5,000 emails a month, then plans from $5", self: "Free software. You pay your hosting and AWS directly" },
+ { label: "Updates", cloud: "Automatic", self: "Pull new images when you're ready" },
+ { label: "Plan limits", cloud: "Per plan", self: "None" },
+ { label: "Features", cloud: "Everything", self: "Everything" },
+];
+
+export default async function OpenSourcePage() {
+ if (!isCloud()) notFound();
+
+ const quickStart = await highlightCode(QUICK_START, {
+ lang: "bash",
+ themes: { dark: "catppuccin-mocha", light: "catppuccin-latte" },
+ }).catch(() => "");
+
+ return (
+
+
+
+
+
Open source
+
Email infrastructure you can read, run and own
+
+ ByteSend is open source under the AGPL-3.0. Use our cloud, or run the same code on your own servers with your own Amazon SES
+ account.
+
+
+
+
+
+
+
+
+
Run it yourself
+ {quickStart ? (
+
+ ) : (
+
+ {QUICK_START}
+
+ )}
+
+ Starts the app, PostgreSQL, Redis, storage and the SMTP relay. Fill in your SES credentials in .env first.
+
+
+
+
+
+
+
+
+ {REASONS.map((reason) => (
+
+
{reason.title}
+
{reason.text}
+
+ ))}
+
+
+
+
+
+
+
+
+
+
+
ByteSend Cloud
+
Self-hosted
+
+
+
+ {COMPARE.map((row) => (
+
+
{row.label}
+
{row.cloud}
+
{row.self}
+
+ ))}
+
+
+
+
+
+
+ Cloud pricing
+
+
+
No servers to run. Free to start, and you only pay for what you send.
+
+
+
+
+ );
+}
diff --git a/apps/web/src/app/(marketing)/pricing/page.tsx b/apps/web/src/app/(marketing)/pricing/page.tsx
new file mode 100644
index 0000000..d737b6e
--- /dev/null
+++ b/apps/web/src/app/(marketing)/pricing/page.tsx
@@ -0,0 +1,227 @@
+import type { Metadata } from "next";
+import Link from "next/link";
+import { notFound } from "next/navigation";
+import { Check, Minus } from "lucide-react";
+import { PLANS, type PlanType } from "@bytesend/lib";
+import { CallToAction } from "~/components/marketing/CallToAction";
+import { Pricing } from "~/components/marketing/PricingSection";
+import { Reveal } from "~/components/marketing/Reveal";
+import { Section, SectionHeader } from "~/components/marketing/Section";
+import { isCloud } from "~/utils/common";
+
+export const metadata: Metadata = {
+ title: "Pricing – ByteSend",
+ description:
+ "Start free with 5,000 emails a month. Paid plans from $5 include a monthly allowance, then you pay per 1,000 emails. Every limit, add-on and answer in one place.",
+ alternates: { canonical: "https://bytesend.cloud/pricing" },
+};
+
+const PLAN_ORDER: PlanType[] = ["FREE", "HOBBY", "BASIC", "SCALE"];
+const number = new Intl.NumberFormat("en-US");
+const usd = (value: number) => `$${value.toFixed(2)}`;
+
+type Cell = string | boolean;
+interface Row {
+ label: string;
+ hint?: string;
+ value(plan: PlanType): Cell;
+}
+
+const limits = (plan: PlanType) => PLANS[plan].limits;
+const perThousand = (plan: PlanType, kind: "transactional" | "marketing") => {
+ const rate = PLANS[plan].usageMetering?.[kind];
+ return rate === undefined ? "Hard limit" : `${usd(rate * 1000)} / 1,000`;
+};
+
+const GROUPS: Array<{ title: string; rows: Row[] }> = [
+ {
+ title: "Sending",
+ rows: [
+ { label: "Price", value: (plan) => (PLANS[plan].monthlyPrice === 0 ? "Free" : `$${PLANS[plan].monthlyPrice / 100} / month`) },
+ { label: "Emails included", hint: "Each month", value: (plan) => number.format(limits(plan).monthlyEmailLimit) },
+ {
+ label: "Daily sending limit",
+ value: (plan) => (Number.isFinite(limits(plan).dailyEmailLimit) ? number.format(limits(plan).dailyEmailLimit) : "None"),
+ },
+ { label: "Extra transactional email", value: (plan) => perThousand(plan, "transactional") },
+ { label: "Extra marketing email", value: (plan) => perThousand(plan, "marketing") },
+ { label: "SMTP connections at once", value: (plan) => String(limits(plan).concurrentConnections) },
+ ],
+ },
+ {
+ title: "Receiving",
+ rows: [
+ { label: "Received emails", hint: "Each month", value: (plan) => number.format(limits(plan).inboundEmailsPerMonth) },
+ { label: "Hosted address and your own domains", value: () => true },
+ { label: "DMARC reports", value: () => true },
+ ],
+ },
+ {
+ title: "Team and audience",
+ rows: [
+ { label: "Domains", value: (plan) => String(limits(plan).maxDomains) },
+ { label: "Team members", value: (plan) => String(limits(plan).maxTeamMembers) },
+ { label: "Marketing contacts", value: (plan) => number.format(limits(plan).contactsLimit) },
+ { label: "Contact books", value: (plan) => number.format(limits(plan).maxContactBooks) },
+ { label: "Campaigns", hint: "In total", value: (plan) => number.format(limits(plan).campaignsLimit) },
+ { label: "Webhooks", value: (plan) => String(limits(plan).maxWebhooks) },
+ ],
+ },
+ {
+ title: "Insights and support",
+ rows: [
+ { label: "Delivery, bounce and complaint tracking", value: () => true },
+ { label: "Open and click analytics", value: (plan) => limits(plan).advancedAnalytics },
+ { label: "Priority support", value: (plan) => limits(plan).prioritySupport },
+ ],
+ },
+];
+
+const INCLUDED = [
+ "REST API, SMTP relay and SDKs for TypeScript, Python and Go",
+ "Transactional and marketing email, with templates and a visual editor",
+ "Signed webhooks for every email, domain and contact event",
+ "Test mode keys that simulate delivery, bounces and complaints",
+ "Automatic bounce and complaint suppression",
+ "DKIM, SPF and DMARC setup with DNS monitoring",
+ "One-click DNS setup for domains on Cloudflare",
+ "A choice of AWS sending regions for each domain",
+];
+
+const FAQ = [
+ {
+ q: "How does paying for extra email work?",
+ a: "Paid plans include a monthly allowance. If you send more, extra emails are billed per 1,000 at your plan's rate, and the rate gets cheaper on bigger plans. The Free plan has a hard limit instead, so you're never charged.",
+ },
+ {
+ q: "What's the difference between transactional and marketing email?",
+ a: "Transactional email is sent to one person because of something they did, like a password reset or receipt, through the API or SMTP. Marketing email is a campaign or broadcast sent to a contact book. Marketing costs a little more because it carries more deliverability risk.",
+ },
+ {
+ q: "What happens when I reach the Free plan's limit?",
+ a: "Sending pauses until your allowance resets, and nothing is charged. New accounts also have a lower daily limit during their first week while we check for abuse.",
+ },
+ {
+ q: "Do received emails count toward my sending allowance?",
+ a: "No. Received email has its own monthly allowance on every plan, and DMARC reports don't count toward either.",
+ },
+ {
+ q: "Do test mode emails cost anything?",
+ a: "No. Emails sent with a test key are never delivered and don't count toward usage. Each team can send up to 1,000 test emails a day.",
+ },
+ {
+ q: "Which currencies can I pay in?",
+ a: "US dollars, pounds sterling or euros. Checkout shows prices in your local currency where we support it. Prices exclude VAT and sales tax, which are added at checkout where they apply.",
+ },
+ {
+ q: "Can I change plans or cancel?",
+ a: "Yes, at any time from Settings → Billing.",
+ },
+ {
+ q: "Is self-hosting free?",
+ a: "Yes. ByteSend is open source under the AGPL-3.0. When you self-host there are no plans or limits, and you pay Amazon SES directly for sending.",
+ },
+ {
+ q: "I send more than 500,000 emails a month.",
+ a: "Talk to us on Discord and we'll put together a custom plan with your own limits and dedicated support.",
+ },
+];
+
+function CellValue({ value }: { value: Cell }) {
+ if (value === true) return ;
+ if (value === false) return ;
+ return {value};
+}
+
+export default function PricingPage() {
+ if (!isCloud()) notFound();
+
+ return (
+
+
+
+
+
+
+
+
+
+
Plan
+ {PLAN_ORDER.map((plan) => (
+
+ {PLANS[plan].displayName}
+
+ ))}
+
+
+ {GROUPS.map((group) => (
+
+
+
+ {group.title}
+
+
+ {group.rows.map((row) => (
+
+
+ {row.label}
+ {row.hint ? {row.hint} : null}
+
+ {PLAN_ORDER.map((plan) => (
+
+
+
+ ))}
+
+ ))}
+
+ ))}
+
+
+
+ Prices in US dollars. Pounds and euros are shown in the plan cards above and at checkout.
+
+
+
+
+
+
+
Included on every plan
+
+ No feature gates on the basics. Plans differ in volume and team size, not in what you can build.
+
+
+ {INCLUDED.map((item) => (
+
+
+ {item}
+
+ ))}
+
+
+ Wondering how we compare?{" "}
+
+ See ByteSend next to Resend, SendGrid, Postmark and Amazon SES
+
+ .
+
{[
{ p: "NodeByte Hosting", purpose: "Application hosting, networking, security", loc: "United Kingdom" },
- { p: "Amazon Web Services (SES)", purpose: "Transactional email delivery", loc: "EU / US" },
+ { p: "Amazon Web Services (SES, S3)", purpose: "Sending and receiving email, and storing received email", loc: "EU / US" },
{ p: "Simple Analytics", purpose: "Privacy-friendly aggregate analytics", loc: "Netherlands" },
{ p: "Stripe", purpose: "Payment processing and billing", loc: "United States" },
].map(({ p, purpose, loc }) => (
diff --git a/apps/web/src/app/(marketing)/receiving/page.tsx b/apps/web/src/app/(marketing)/receiving/page.tsx
new file mode 100644
index 0000000..d16f6cf
--- /dev/null
+++ b/apps/web/src/app/(marketing)/receiving/page.tsx
@@ -0,0 +1,229 @@
+import type { Metadata } from "next";
+import Link from "next/link";
+import { notFound } from "next/navigation";
+import { ArrowRight, AtSign, FileText, Forward, Inbox, MessageSquareReply, ShieldCheck, Webhook } from "lucide-react";
+import { PLANS, type PlanType } from "@bytesend/lib";
+import { Button } from "@bytesend/ui/src/button";
+import { CallToAction } from "~/components/marketing/CallToAction";
+import { Reveal } from "~/components/marketing/Reveal";
+import { HairlineGrid, Section, SectionHeader } from "~/components/marketing/Section";
+import { highlightCode, type HighlightLang } from "~/lib/highlighter";
+import { isCloud } from "~/utils/common";
+
+export const metadata: Metadata = {
+ title: "Receive email in your app – ByteSend",
+ description:
+ "Receive email on a hosted address or your own domain, and get every message as a webhook, through the API, in an inbox, or forwarded on.",
+ alternates: { canonical: "https://bytesend.cloud/receiving" },
+};
+
+const DOCS = "https://docs.bytesend.cloud/guides/inbound-email";
+const PLAN_ORDER: PlanType[] = ["FREE", "HOBBY", "BASIC", "SCALE"];
+const number = new Intl.NumberFormat("en-US");
+
+const STEPS = [
+ {
+ icon: AtSign,
+ title: "Pick an address",
+ text: "Use your team's hosted address straight away, or receive on a subdomain of your own domain like reply.yourapp.com with one MX record.",
+ },
+ {
+ icon: ShieldCheck,
+ title: "Mail arrives",
+ text: "We receive it, scan it for spam and viruses, check SPF, DKIM and DMARC, and split out the text, HTML and attachments.",
+ },
+ {
+ icon: Webhook,
+ title: "You get it",
+ text: "As an email.received webhook, through the API, in the dashboard inbox, or forwarded to any mailbox. Use one or all four.",
+ },
+];
+
+const USE_CASES: Array<{
+ icon: typeof Inbox;
+ title: string;
+ text: string;
+ file: string;
+ lang: HighlightLang;
+ code: string;
+}> = [
+ {
+ icon: MessageSquareReply,
+ title: "Reply by email",
+ text: "Let people answer a notification straight from their inbox. Replies to email you sent through ByteSend come with the original email's ID, so you know exactly which thread they belong to. The SDK checks the signature and types the event for you.",
+ file: "app/api/inbound/route.ts",
+ lang: "ts",
+ code: `import { ByteSend } from "bytesend-js";
+
+const webhooks = new ByteSend().webhooks(process.env.BYTESEND_WEBHOOK_SECRET!);
+
+export async function POST(req: Request) {
+ const event = webhooks.constructEvent(await req.text(), { headers: req.headers });
+
+ if (event.type === "email.received" && event.data.inReplyToEmailId) {
+ const { inReplyToEmailId, from, text } = event.data;
+ await comments.create({ thread: inReplyToEmailId, author: from, body: text });
+ }
+ return new Response("ok");
+}`,
+ },
+ {
+ icon: FileText,
+ title: "Parse invoices and receipts",
+ text: "Give each customer an address like acme+invoices@ and pull the PDFs out of everything that arrives. Every attachment comes with a signed download link.",
+ file: "import-invoices.ts",
+ lang: "ts",
+ code: `const { from, attachments } = event.data;
+
+for (const file of attachments) {
+ if (file.contentType !== "application/pdf") continue;
+ const pdf = await fetch(file.url).then((res) => res.arrayBuffer());
+ await invoices.import({ vendor: from, pdf });
+}`,
+ },
+ {
+ icon: Inbox,
+ title: "A support inbox",
+ text: "Point support@ at a receiving subdomain, read everything in the dashboard inbox, and forward a copy to your helpdesk. Replies go back to the customer, not to us.",
+ file: "Forwarding rule",
+ lang: "bash",
+ code: `support@reply.yourapp.com → team@yourapp.com`,
+ },
+ {
+ icon: Forward,
+ title: "Process mail on your schedule",
+ text: "No public endpoint? Fetch received mail from the API whenever it suits you, filtered by address or time.",
+ file: "terminal",
+ lang: "bash",
+ code: `curl "https://bytesend.cloud/api/v1/inbound/emails?recipient=support@reply.yourapp.com" \\
+ -H "Authorization: Bearer bs_••••••••"`,
+ },
+];
+
+const DETAILS = [
+ { title: "+tags on every address", text: "acme+orders@ and acme+invoices@ both arrive, so you can tell senders apart without new addresses." },
+ { title: "Authentication results", text: "Every message shows whether SPF, DKIM and DMARC passed, plus spam and virus verdicts." },
+ { title: "Signed webhooks", text: "Each delivery is signed and retried until your endpoint accepts it." },
+ { title: "Kept for 30 days", text: "Messages and attachments stay in your inbox and API for 30 days, then they're deleted." },
+ { title: "DMARC reports included", text: "Point your DMARC record at ByteSend and we read the reports for you. They don't count toward your allowance." },
+ { title: "Open source", text: "Receiving is part of the AGPL codebase, so you can run it on your own AWS account too." },
+];
+
+export default async function ReceivingPage() {
+ if (!isCloud()) notFound();
+
+ const samples = await Promise.all(
+ USE_CASES.map((useCase) =>
+ highlightCode(useCase.code, {
+ lang: useCase.lang,
+ themes: { dark: "catppuccin-mocha", light: "catppuccin-latte" },
+ }).catch(() => ""),
+ ),
+ );
+
+ return (
+
+
+
+
+
Receiving
+
Receive email in your app
+
+ ByteSend doesn't just send. Give your app an address, and every message that arrives reaches you as a webhook, through the API,
+ in an inbox, or forwarded on.
+
+
+
+
+
+
+ {number.format(PLANS.FREE.limits.inboundEmailsPerMonth)} received emails a month free · No credit card
+
+
+
+
+
+ );
+}
diff --git a/apps/web/src/app/(marketing)/security/page.tsx b/apps/web/src/app/(marketing)/security/page.tsx
new file mode 100644
index 0000000..a96a3b2
--- /dev/null
+++ b/apps/web/src/app/(marketing)/security/page.tsx
@@ -0,0 +1,142 @@
+import type { Metadata } from "next";
+import Link from "next/link";
+import { notFound } from "next/navigation";
+import { isCloud } from "~/utils/common";
+
+export const metadata: Metadata = {
+ title: "Security – ByteSend",
+ description: "How ByteSend protects your account, your email and your data, who processes it, and how to report a vulnerability.",
+ alternates: { canonical: "https://bytesend.cloud/security" },
+};
+
+const SECTIONS: Array<{ id: string; title: string; items: string[] }> = [
+ {
+ id: "data",
+ title: "Your data",
+ items: [
+ "All traffic to and from ByteSend is encrypted with TLS, and the database is encrypted at rest.",
+ "API keys are stored as one-way scrypt hashes. We show a key once, when you create it, and can't recover it afterwards.",
+ "Received email and its attachments are deleted after 30 days, DMARC reports after 90 days, and email sending logs after up to 12 months.",
+ "Access to customer data is limited to staff who need it, and staff actions on accounts are recorded in an audit log.",
+ ],
+ },
+ {
+ id: "accounts",
+ title: "Your account",
+ items: [
+ "Sign in with GitHub, Google, Discord, an email link, or a password.",
+ "Two-factor authentication with any authenticator app, with recovery codes in case you lose your device.",
+ "API keys can be limited to a single domain, and test keys can never send real email.",
+ ],
+ },
+ {
+ id: "email",
+ title: "Your email",
+ items: [
+ "Webhooks are signed with HMAC-SHA256 and a timestamp, so you can verify they came from us and reject replays.",
+ "Links to received attachments are signed, expire after an hour, and always download rather than open in the browser.",
+ "Received HTML is shown in a sandboxed frame with no scripts. Incoming mail is scanned for spam and viruses, and infected mail is never forwarded.",
+ "Outgoing mail is scanned for phishing and abuse before it's queued, and hard bounces and complaints are suppressed automatically.",
+ "Domains are re-checked twice a day, and you're told if a DKIM, SPF or MX record changes.",
+ ],
+ },
+ {
+ id: "open-source",
+ title: "Open source",
+ items: [
+ "ByteSend's code is public under the AGPL-3.0, so anyone can review how your email and data are handled.",
+ "Dependencies are kept up to date, and fixes for security issues ship in the latest and previous stable releases.",
+ ],
+ },
+];
+
+const PROCESSORS = [
+ { name: "NodeByte Hosting", role: "Application hosting, database and networking", location: "United Kingdom" },
+ { name: "Amazon Web Services (SES, S3)", role: "Sending and receiving email, and storing received email", location: "EU / US" },
+ { name: "Stripe", role: "Payment processing and billing", location: "United States" },
+ { name: "Simple Analytics", role: "Privacy-friendly aggregate website analytics", location: "Netherlands" },
+];
+
+export default function SecurityPage() {
+ if (!isCloud()) notFound();
+
+ return (
+
+
+
Security
+
Keeping your email safe
+
+ How we protect your account, your email and your data, who helps us process it, and how to tell us about a problem.
+
+
+
+ {SECTIONS.map((section) => (
+
+
{section.title}
+
+ {section.items.map((item) => (
+
+
+ {item}
+
+ ))}
+
+
+ ))}
+
+
+
Who processes your data
+
+ The companies that help us run ByteSend. Our{" "}
+
+ Data Processing Agreement
+ {" "}
+ covers how we use them.
+
+
+
+
+
+
Company
+
What for
+
Where
+
+
+
+ {PROCESSORS.map((processor) => (
+
+
{processor.name}
+
{processor.role}
+
{processor.location}
+
+ ))}
+
+
+
+
+
+
+
Report a vulnerability
+
+ Please don't open a public GitHub issue. Email{" "}
+
+ security@nodebyte.co.uk
+ {" "}
+ with [SECURITY] in the subject, and include the affected component, steps to reproduce, and
+ the impact.
+
+
+
We acknowledge reports within 72 hours.
+
We assess severity, plan a fix, and agree disclosure with you.
+
If you'd like, we credit you in the release notes.
+
+
+ In scope: remote code execution, authentication bypass, data exposure, injection, and SSRF. Missing best-practice headers, self-XSS and
+ rate-limit bypasses with no real impact are out of scope.
+
+
+
+
+
+ );
+}
diff --git a/apps/web/src/app/(marketing)/smtp/page.tsx b/apps/web/src/app/(marketing)/smtp/page.tsx
new file mode 100644
index 0000000..147c66d
--- /dev/null
+++ b/apps/web/src/app/(marketing)/smtp/page.tsx
@@ -0,0 +1,187 @@
+import type { Metadata } from "next";
+import Link from "next/link";
+import { notFound } from "next/navigation";
+import { ArrowRight } from "lucide-react";
+import { Button } from "@bytesend/ui/src/button";
+import { CallToAction } from "~/components/marketing/CallToAction";
+import { Reveal } from "~/components/marketing/Reveal";
+import { HairlineGrid, Section, SectionHeader } from "~/components/marketing/Section";
+import { highlightCode, type HighlightLang } from "~/lib/highlighter";
+import { isCloud } from "~/utils/common";
+
+export const metadata: Metadata = {
+ title: "SMTP relay service – ByteSend",
+ description:
+ "Send email from any app that speaks SMTP: WordPress, Laravel, Django, Rails, Node and more. Change one setting, keep your code, and get delivery tracking and analytics.",
+ alternates: { canonical: "https://bytesend.cloud/smtp" },
+};
+
+const SETTINGS = [
+ { label: "Host", value: "smtp.bytesend.cloud" },
+ { label: "Port (STARTTLS)", value: "587 or 2587" },
+ { label: "Port (TLS)", value: "465 or 2465" },
+ { label: "Username", value: "Your SMTP username, from Settings → SMTP" },
+ { label: "Password", value: "An API key" },
+];
+
+const SNIPPETS: Array<{ name: string; file: string; lang: HighlightLang; code: string }> = [
+ {
+ name: "Node.js",
+ file: "mailer.ts",
+ lang: "ts",
+ code: `import nodemailer from "nodemailer";
+
+const transport = nodemailer.createTransport({
+ host: "smtp.bytesend.cloud",
+ port: 587,
+ auth: { user: process.env.BYTESEND_SMTP_USER, pass: process.env.BYTESEND_API_KEY },
+});
+
+await transport.sendMail({
+ from: "hello@yourapp.com",
+ to: "jane@example.com",
+ subject: "Welcome",
+ html: "
Thanks for signing up!
",
+});`,
+ },
+ {
+ name: "Laravel",
+ file: ".env",
+ lang: "bash",
+ code: `MAIL_MAILER=smtp
+MAIL_HOST=smtp.bytesend.cloud
+MAIL_PORT=587
+MAIL_USERNAME=your-smtp-username
+MAIL_PASSWORD=bs_••••••••
+MAIL_FROM_ADDRESS=hello@yourapp.com`,
+ },
+ {
+ name: "Django",
+ file: "settings.py",
+ lang: "python",
+ code: `import os
+
+EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"
+EMAIL_HOST = "smtp.bytesend.cloud"
+EMAIL_PORT = 587
+EMAIL_USE_TLS = True
+EMAIL_HOST_USER = os.environ["BYTESEND_SMTP_USER"]
+EMAIL_HOST_PASSWORD = os.environ["BYTESEND_API_KEY"]`,
+ },
+ {
+ name: "Rails",
+ file: "config/environments/production.rb",
+ lang: "ruby",
+ code: `config.action_mailer.delivery_method = :smtp
+config.action_mailer.smtp_settings = {
+ address: "smtp.bytesend.cloud",
+ port: 587,
+ user_name: ENV["BYTESEND_SMTP_USER"],
+ password: ENV["BYTESEND_API_KEY"],
+ enable_starttls_auto: true,
+}`,
+ },
+];
+
+const WHY = [
+ { title: "No code changes", text: "Anything that can send email over SMTP works, including apps and plugins you can't edit." },
+ { title: "Every email tracked", text: "Mail sent over SMTP shows up in your dashboard with its delivery status, just like the API." },
+ { title: "Bounces handled for you", text: "Hard bounces and spam complaints are suppressed automatically, protecting your sender reputation." },
+ { title: "Your domain, signed", text: "DKIM, SPF and DMARC for your domain, so mail lands in the inbox instead of spam." },
+ { title: "Webhooks too", text: "Get delivered, bounced, opened and clicked events for SMTP mail, signed and retried." },
+ { title: "Same price as the API", text: "SMTP email counts toward your plan like any other. 5,000 a month free." },
+];
+
+export default async function SmtpPage() {
+ if (!isCloud()) notFound();
+
+ const highlighted = await Promise.all(
+ SNIPPETS.map((snippet) =>
+ highlightCode(snippet.code, { lang: snippet.lang, themes: { dark: "catppuccin-mocha", light: "catppuccin-latte" } }).catch(() => ""),
+ ),
+ );
+
+ return (
+
+
+
+
+
SMTP relay
+
Change one setting, keep your code
+
+ Point any app that sends email over SMTP at ByteSend: WordPress, Laravel, Django, Rails, Node, or software you can't change.
+ You get delivery tracking, bounce handling and analytics without touching your code.
+
+
+
+
+
+
+
+
+
Connection settings
+
+ {SETTINGS.map((setting) => (
+
+
{setting.label}
+
{setting.value}
+
+ ))}
+
+
+
+
+
+
+
+
+ {SNIPPETS.map((snippet, index) => (
+
+
+ {snippet.name}
+ {snippet.file}
+
+ {highlighted[index] ? (
+
+ ) : (
+
+ {snippet.code}
+
+ )}
+
+ ))}
+
+
+ WordPress: install an SMTP plugin such as WP Mail SMTP, choose "Other SMTP", and
+ enter the settings above with TLS on port 587.
+
+
+
+
+
+
+ {WHY.map((item) => (
+
+
{item.title}
+
{item.text}
+
+ ))}
+
+
+
+
+
+ );
+}
diff --git a/apps/web/src/app/(marketing)/tools/dkim/dkim-checker.tsx b/apps/web/src/app/(marketing)/tools/dkim/dkim-checker.tsx
new file mode 100644
index 0000000..81a76a0
--- /dev/null
+++ b/apps/web/src/app/(marketing)/tools/dkim/dkim-checker.tsx
@@ -0,0 +1,99 @@
+"use client";
+
+import { Search } from "lucide-react";
+import { Button } from "@bytesend/ui/src/button";
+import { Input } from "@bytesend/ui/src/input";
+import { ToolError, ToolResultCard } from "~/components/marketing/tools/tool-result";
+import { useToolCheck } from "~/components/marketing/tools/use-tool-check";
+import type { DkimCheck } from "~/server/service/dkim-check-service";
+
+const FIELDS = ["domain", "selector"];
+
+const GRADES: Record = {
+ missing: { label: "Not found", variant: "danger", summary: "No DKIM key found." },
+ broken: { label: "Broken", variant: "danger", summary: "A DKIM key exists, but signatures using it will fail." },
+ weak: { label: "Weak", variant: "danger", summary: "The DKIM key is too short to be trusted." },
+ ok: { label: "OK", variant: "warning", summary: "DKIM works, but a stronger key is recommended." },
+ strong: { label: "Strong", variant: "success", summary: "DKIM is set up with a strong key." },
+};
+
+export function DkimChecker() {
+ const { values, setValue, run, result, error, loading } = useToolCheck("/api/tools/dkim", FIELDS);
+ const domain = values.domain ?? "";
+ const grade = result ? GRADES[result.grade] : null;
+
+ return (
+
+ );
+}
diff --git a/apps/web/src/app/(marketing)/tools/dkim/page.tsx b/apps/web/src/app/(marketing)/tools/dkim/page.tsx
new file mode 100644
index 0000000..5a55456
--- /dev/null
+++ b/apps/web/src/app/(marketing)/tools/dkim/page.tsx
@@ -0,0 +1,44 @@
+import type { Metadata } from "next";
+import { notFound } from "next/navigation";
+import { ToolPage } from "~/components/marketing/tools/tool-page";
+import { isCloud } from "~/utils/common";
+import { DkimChecker } from "./dkim-checker";
+
+export const metadata: Metadata = {
+ title: "Free DKIM checker – ByteSend",
+ description: "Find a domain's DKIM keys and check them: key size, revoked or test-mode keys, and broken records.",
+ alternates: { canonical: "https://bytesend.cloud/tools/dkim" },
+};
+
+const FAQ = [
+ {
+ q: "What is DKIM?",
+ a: "A signature added to every email you send, checked against a public key in your DNS. It proves the message came from you and wasn't changed on the way.",
+ },
+ {
+ q: "What's a selector?",
+ a: "The name your DKIM key is published under, at ._domainkey.yourdomain.com. Each provider uses its own, so a domain can have several keys. You can find it in the s= tag of the DKIM-Signature header on an email you've sent.",
+ },
+ {
+ q: "How long should my key be?",
+ a: "2048 bits. 1024-bit keys still work but are considered weak, and anything shorter is ignored by many providers.",
+ },
+ {
+ q: "Which selector does ByteSend use?",
+ a: "bytesend, or bytesend- if you've moved a domain to another sending region. The domain page in your dashboard shows the exact record.",
+ },
+];
+
+export default function DkimCheckerPage() {
+ if (!isCloud()) notFound();
+
+ return (
+ }
+ faq={FAQ}
+ />
+ );
+}
diff --git a/apps/web/src/app/(marketing)/tools/dmarc/dmarc-checker.tsx b/apps/web/src/app/(marketing)/tools/dmarc/dmarc-checker.tsx
new file mode 100644
index 0000000..e15ebb5
--- /dev/null
+++ b/apps/web/src/app/(marketing)/tools/dmarc/dmarc-checker.tsx
@@ -0,0 +1,98 @@
+"use client";
+
+import { Search } from "lucide-react";
+import { Button } from "@bytesend/ui/src/button";
+import { Input } from "@bytesend/ui/src/input";
+import { ToolError, ToolResultCard } from "~/components/marketing/tools/tool-result";
+import { useToolCheck } from "~/components/marketing/tools/use-tool-check";
+import type { DmarcCheck, DmarcGrade } from "~/server/service/dmarc-check-service";
+
+const FIELDS = ["domain"];
+
+const GRADES: Record = {
+ missing: { label: "Not protected", variant: "danger", summary: "This domain has no DMARC record." },
+ invalid: { label: "Broken", variant: "danger", summary: "This domain's DMARC record won't be honoured." },
+ monitoring: { label: "Monitoring only", variant: "warning", summary: "DMARC is set up, but spoofed mail is still delivered." },
+ partial: { label: "Partly enforced", variant: "warning", summary: "Some spoofed mail is still getting through." },
+ enforced: { label: "Enforced", variant: "success", summary: "Mail pretending to be this domain is blocked." },
+};
+
+export function DmarcChecker() {
+ const { values, setValue, run, result, error, loading } = useToolCheck("/api/tools/dmarc", FIELDS);
+ const domain = values.domain ?? "";
+ const grade = result ? GRADES[result.grade] : null;
+
+ return (
+