# Mailset > A real mailbox for every address on your domains, a Gmail-style inbox with AI triage, and a CLI for all of it. These recipes set up a domain on Mailset, for a person or an agent with a terminal and a browser. Commands run in the `mailset` CLI: `brew install intenseloop/tap/mailset`, or `npm install -g @mailset/cli`, then `mailset login`, which also offers your agents the Mailset skill. Steps on another site give the page to open. `mailset guide ` prints the same recipes, and wherever a recipe says `mailset guide `, that recipe is also at https://mailset.app/guide/.md. Every page here as Markdown, in one file: https://mailset.app/llms-full.txt. To send mail from a product, or call Mailset from code in any language, start at https://mailset.app/docs.md: the official SDKs for TypeScript, Python, Go, Ruby, PHP, Java and Rust, making a key and keeping it alive, the HTTP API (also https://mailset.app/openapi.json), the CLI reference and webhooks. Any other language signs its own requests: https://mailset.app/docs/authentication/http.md shows how. Stuck, or need higher sending limits? https://mailset.app/support.md says how to ask the Mailset team, and `mailset feedback ""` sends one from the terminal. Each of these web frameworks has a guide of its own, from install to webhooks: - [Next.js](https://mailset.app/send-email/nextjs.md): TypeScript · send and webhooks - [Express](https://mailset.app/send-email/express.md): TypeScript · send and webhooks - [NestJS](https://mailset.app/send-email/nestjs.md): TypeScript · send and webhooks - [Cloudflare Workers](https://mailset.app/send-email/cloudflare-workers.md): TypeScript · send and webhooks - [FastAPI](https://mailset.app/send-email/fastapi.md): Python · send and webhooks - [Django](https://mailset.app/send-email/django.md): Python · send and webhooks - [Flask](https://mailset.app/send-email/flask.md): Python · send and webhooks - [Rails](https://mailset.app/send-email/rails.md): Ruby · send and webhooks - [Laravel](https://mailset.app/send-email/laravel.md): PHP · send and webhooks - [Symfony](https://mailset.app/send-email/symfony.md): PHP · send and webhooks - [Spring Boot](https://mailset.app/send-email/spring-boot.md): Java · send and webhooks ## Onboarding a domain The whole path for a new domain, in order: mail arriving in Mailset, your product sending through it, and the steps on other sites that make inboxes trust it. Replace example.com with your domain and you@example.com with your own address. Commands are `mailset` commands you run. A step on another site gives the full URL to open. Mailset can't do it for you, so `mailset domains status` lists it as manual. ### Steps 1. Install the CLI on macOS or Linux with `brew install intenseloop/tap/mailset` or `npm install -g @mailset/cli`. Run `mailset login`, open the link it prints and approve with your passkey. In a terminal, login also offers your agents the Mailset skill; `mailset agents add` does it later. 2. Run `mailset domains plan example.com`. It names your DNS host and every record Mailset will want. Nothing changes yet. 3. Run `mailset domains add example.com`. It shows the plan again and asks before adding it. Nothing changes at DNS yet. If the domain's mail stays where it is (Google Workspace, say) and Mailset only sends your product's mail, add `--sending`. 4. Put the records in DNS with `mailset domains apply example.com`. Mailset writes them where it can reach your DNS, links your host's approval page where it supports Domain Connect, or prints them to add by hand: `mailset guide dns-by-hand`. On Cloudflare, run `mailset dns connect cloudflare` first, open the link it prints and pick the account. Mail staying where it is for now (Google Workspace, say)? Add `--sending`: it writes only what sending needs and leaves MX alone. 5. Run `mailset domains check example.com` until every row says ok. The domain says `receiving` once MX and DKIM pass, and `ready` once sending passes too. 6. Add mailboxes with `mailset mailboxes add you@example.com`, and a shared one for your product's mail: `mailset mailboxes add hello@example.com --kind shared`. A sending-only domain needs none: its mail arrives elsewhere. An alias sends another address to a mailbox: `mailset aliases add support@example.com --mailbox hello@example.com`. Give Yahoo's complaint reports one too: `mailset aliases add fbl@example.com --mailbox hello@example.com`. 7. Moving from Google Workspace? Copy each mailbox's old mail with `mailset imports start you@example.com`, and read `mailset guide leaving-google` before cancelling anything. 8. Make a key for your product's server: `mailset keys create --send --mailbox hello@example.com --name "Example API"`. On a sending-only domain, make it for the domain instead, naming the addresses your product uses: `mailset keys create --send --domain example.com --from hello@example.com --name "Example API"`, and send with a `replyTo` where your team reads mail. Keep the printed `MAILSET_KEY` in your secret store for the `mailset` SDK. Then, as you need them: newsletters from a subdomain (`mailset guide sending-modes`), a `deliverBy` for sign-in codes and your plan's limits (`mailset guide sending-limits`), and a hook for bounces (`mailset guide product-events`). 9. Enforce MTA-STS, which starts in testing: once `mailset domains check example.com` shows clean TLS reports, run `mailset domains sts example.com --mode enforce`. Mailset refuses it until your MX is Mailset's, the policy is really served and the reports are clean. 10. Move DMARC to quarantine, then reject, once reports show your mail passing: `mailset guide dmarc`. 11. Add your brand logo: `mailset guide logo`. 12. Add the domain to Gmail Postmaster Tools: `mailset guide postmaster`. 13. Optional: Yahoo Sender Hub and its complaint reports: `mailset guide yahoo`. 14. Give each sending address a Google account photo, so Gmail shows a picture beside your mail: `mailset guide sender-photos`. 15. When everything sends through Mailset, retire the old provider: `mailset guide old-provider`. 16. Optional: run the org's AI on its own Anthropic key, pick a model per feature, or turn AI off: `mailset guide ai`. ### Check Run `mailset domains status example.com`. Each row says `ok`, `todo`, `manual` or `info`, with the next step: a `mailset` command, or `mailset guide ` for a step on another site. You're done when every row is `ok` or `info` and you've done each `manual` row yourself. `--json` gives the rows as data. ### Watch out - Leaving another provider, order matters: new records go live first, then your code, then the old keys, then the old DNS records, then the account. Deleting old records first breaks whatever still sends. - Every app key, campaign domain and mailbox has a brake that stops it on complaints or bounces: `mailset guide brakes`. - A new org starts on a trial. To keep sending outside your domains and Mailset's AI after it, an owner upgrades: `mailset guide billing`. - Everyone signs in with a passkey. For Windows, Android or a second computer, and a passkey per device: `mailset guide passkeys`. - A record you add by hand counts only once `mailset domains check` sees it on your domain's own nameservers. DNS hosts can take a few minutes to publish a change. ## Pages - [Mailset: business email and product email on one bill](https://mailset.app/index.txt): Business email on your own domain, with your product’s email on the same bill. Real mailboxes, shared inboxes, AI sorting and drafts, and official SDKs in 7 languages. ## Guide - [DMARC to enforcement](https://mailset.app/guide/dmarc.txt): Read your DMARC reports, then move the policy to quarantine or reject - [Transactional and promotional mail](https://mailset.app/guide/sending-modes.txt): Which mode your product’s mail takes in the SDK, and what each one needs - [Brand logo (BIMI)](https://mailset.app/guide/logo.txt): Your logo beside your mail in the inbox, and when it needs a certificate - [DNS records by hand](https://mailset.app/guide/dns-by-hand.txt): Copy each record into a DNS host Mailset can’t write to, then check it - [Gmail Postmaster Tools](https://mailset.app/guide/postmaster.txt): Prove the domain to Google, then read Gmail’s own numbers in Mailset - [Sender photos in Gmail](https://mailset.app/guide/sender-photos.txt): A Google account photo per sending address, so Gmail shows a picture - [Events for your product's mail](https://mailset.app/guide/product-events.txt): A signed webhook that says what became of each message your product sent - [Plans and billing](https://mailset.app/guide/billing.txt): The trial, Base and Team, seats, the prepaid balance and auto top-up - [Limits, deadlines and batches](https://mailset.app/guide/sending-limits.txt): What waits for a limit, deadlines for codes, and sending many at once - [Brakes](https://mailset.app/guide/brakes.txt): Who Mailset stops when mail draws complaints, and who starts it again - [Leaving your old provider](https://mailset.app/guide/old-provider.txt): Move every sender off your old provider, then its records and account - [Onboarding a domain](https://mailset.app/guide/onboarding.txt): The whole path for a new domain, in order, with the steps on other sites - [Yahoo Sender Hub](https://mailset.app/guide/yahoo.txt): See your complaint rate at Yahoo, and enroll in its complaint reports - [Leaving Google Workspace](https://mailset.app/guide/leaving-google.txt): What to keep, move and cancel when your mail leaves Google Workspace - [AI on your own key](https://mailset.app/guide/ai.txt): Run AI on your own Anthropic key, pick a model per feature, or turn it off - [Passkeys on every device](https://mailset.app/guide/passkeys.txt): Sign in on Windows, Android or a second computer, each with its own passkey ## Docs - [Account: Mailset docs](https://mailset.app/docs/api/account.txt): Deactivate or delete your own account. - [Activity: Mailset docs](https://mailset.app/docs/api/activity.txt): What your account has done lately. - [Default address: Mailset docs](https://mailset.app/docs/api/addresses.txt): The address your new email goes out from. - [AI: Mailset docs](https://mailset.app/docs/api/ai.txt): Summaries, drafts and sorting, and what runs them. - [Aliases: Mailset docs](https://mailset.app/docs/api/aliases.txt): More addresses for one mailbox, catch-alls included. - [Attachments: Mailset docs](https://mailset.app/docs/api/attachments.txt): Download a file from a message. - [Audit log: Mailset docs](https://mailset.app/docs/api/audit.txt): What happened in an org, and who did it. - [Mailbox pictures: Mailset docs](https://mailset.app/docs/api/avatars.txt): The picture a mailbox shows inside Mailset. - [Billing: Mailset docs](https://mailset.app/docs/api/billing.txt): The plan, this month’s use, and the prepaid balance. - [Blocked senders: Mailset docs](https://mailset.app/docs/api/blocks.txt): Discard a sender’s new email before it is stored. - [Campaigns: Mailset docs](https://mailset.app/docs/api/campaigns.txt): Bulk email from a sending domain, and its event hook. - [Codes: Mailset docs](https://mailset.app/docs/api/codes.txt): The newest one-time code an address received. - [Contacts: Mailset docs](https://mailset.app/docs/api/contacts.txt): Your address book: add, merge, import and export. - [Delegates: Mailset docs](https://mailset.app/docs/api/delegates.txt): Let a teammate read and send from your mailbox. - [Delivery: Mailset docs](https://mailset.app/docs/api/delivery.txt): Find what became of a message, recipient by recipient. - [Devices: Mailset docs](https://mailset.app/docs/api/devices.txt): Where you are signed in, and signing a device out. - [DNS connection: Mailset docs](https://mailset.app/docs/api/dns.txt): Let Mailset write the records in your own DNS account. - [Domains: Mailset docs](https://mailset.app/docs/api/domains.txt): Add a domain, check its records, and set its policies. - [Drafts: Mailset docs](https://mailset.app/docs/api/drafts.txt): Save a draft, attach files, and throw one away. - [Exports: Mailset docs](https://mailset.app/docs/api/exports.txt): A copy of your whole account, to download. - [Follow-ups: Mailset docs](https://mailset.app/docs/api/followups.txt): Email you sent that still waits for an answer. - [Forwarding: Mailset docs](https://mailset.app/docs/api/forwarding.txt): Send a mailbox’s new email on to another address. - [Key status: Mailset docs](https://mailset.app/docs/api/grants.txt): What the key making a call may do, and when it stops. - [Groups: Mailset docs](https://mailset.app/docs/api/groups.txt): One address that reaches several mailboxes. - [Event hook: Mailset docs](https://mailset.app/docs/api/hooks.txt): The webhook that hears what became of your product’s email. - [Imports: Mailset docs](https://mailset.app/docs/api/imports.txt): Copy a mailbox’s email over from a Google account. - [Invites: Mailset docs](https://mailset.app/docs/api/invites.txt): Invites nobody has accepted yet. - [App keys: Mailset docs](https://mailset.app/docs/api/keys.txt): The keys your product’s servers hold, and what each one may do. - [Labels: Mailset docs](https://mailset.app/docs/api/labels.txt): Your own labels for conversations. - [Mailboxes: Mailset docs](https://mailset.app/docs/api/mailboxes.txt): Create mailboxes, and decide who holds each one. - [Members: Mailset docs](https://mailset.app/docs/api/members.txt): Invite people, change roles, and remove someone. - [Messages: Mailset docs](https://mailset.app/docs/api/messages.txt): Send email: whole messages from your product, or a person’s own. - [Notes: Mailset docs](https://mailset.app/docs/api/notes.txt): A note in a shared conversation, for the team only. - [Organizations: Mailset docs](https://mailset.app/docs/api/orgs.txt): The orgs you are in, and an org’s name. - [Paper key: Mailset docs](https://mailset.app/docs/api/paperkey.txt): The org’s way back in when every passkey is lost. - [Passkeys: Mailset docs](https://mailset.app/docs/api/passkeys.txt): The passkeys that sign you in. - [Policies: Mailset docs](https://mailset.app/docs/api/policies.txt): The org’s rules on forwarding and sessions. - [Postmaster: Mailset docs](https://mailset.app/docs/api/postmaster.txt): How Gmail sees each of your domains. - [Notifications: Mailset docs](https://mailset.app/docs/api/push.txt): The devices that get push notifications. - [Inbound routes: Mailset docs](https://mailset.app/docs/api/routes.txt): Email to a subdomain, delivered to your webhook. - [Rules: Mailset docs](https://mailset.app/docs/api/rules.txt): File, label or forward new email as it arrives. - [Senders: Mailset docs](https://mailset.app/docs/api/senders.txt): Photos for the addresses you send from, and who writes to you. - [Sending domains: Mailset docs](https://mailset.app/docs/api/sending.txt): Sending-only subdomains, their suppressions, and your org’s limits. - [Settings: Mailset docs](https://mailset.app/docs/api/settings.txt): Your own preferences, on every device. - [Storage: Mailset docs](https://mailset.app/docs/api/storage.txt): How much email each of your mailboxes holds. - [Tab rules: Mailset docs](https://mailset.app/docs/api/tabrules.txt): Always file a sender or a domain in one inbox tab. - [Conversations: Mailset docs](https://mailset.app/docs/api/threads.txt): List, search, read and file conversations. - [API tokens: Mailset docs](https://mailset.app/docs/api/tokens.txt): A person’s own login for scripts. - [Unsubscribes: Mailset docs](https://mailset.app/docs/api/unsubscribes.txt): Who opted out of a mailbox’s or sending domain’s promotional email. - [Vacation replies: Mailset docs](https://mailset.app/docs/api/vacation.txt): The reply people get while you are away. - [Who am I: Mailset docs](https://mailset.app/docs/api/whoami.txt): Who a credential signs in as. - [Calling the API without an SDK: Mailset docs](https://mailset.app/docs/authentication/http.txt): How to sign a request yourself, with a test vector and a client in Python, Go, Ruby, PHP, Java and Rust. - [Account: Mailset docs](https://mailset.app/docs/cli/account.txt): Deactivate or delete your own account. - [Activity: Mailset docs](https://mailset.app/docs/cli/activity.txt): What your account has done lately. - [Default address: Mailset docs](https://mailset.app/docs/cli/addresses.txt): The address your new email goes out from. - [Agent skill: Mailset docs](https://mailset.app/docs/cli/agents.txt): Teach the agent apps on this machine how to use Mailset. - [AI: Mailset docs](https://mailset.app/docs/cli/ai.txt): Summaries, drafts and sorting, and what runs them. - [Aliases: Mailset docs](https://mailset.app/docs/cli/aliases.txt): More addresses for one mailbox, catch-alls included. - [Attachments: Mailset docs](https://mailset.app/docs/cli/attachments.txt): Download a file from a message. - [Audit log: Mailset docs](https://mailset.app/docs/cli/audit.txt): What happened in an org, and who did it. - [Mailbox pictures: Mailset docs](https://mailset.app/docs/cli/avatars.txt): The picture a mailbox shows inside Mailset. - [Billing: Mailset docs](https://mailset.app/docs/cli/billing.txt): The plan, this month’s use, and the prepaid balance. - [Blocked senders: Mailset docs](https://mailset.app/docs/cli/blocks.txt): Discard a sender’s new email before it is stored. - [Campaigns: Mailset docs](https://mailset.app/docs/cli/campaigns.txt): Bulk email from a sending domain, and its event hook. - [Codes: Mailset docs](https://mailset.app/docs/cli/codes.txt): The newest one-time code an address received. - [Contacts: Mailset docs](https://mailset.app/docs/cli/contacts.txt): Your address book: add, merge, import and export. - [Delegates: Mailset docs](https://mailset.app/docs/cli/delegates.txt): Let a teammate read and send from your mailbox. - [Delivery: Mailset docs](https://mailset.app/docs/cli/delivery.txt): Find what became of a message, recipient by recipient. - [Devices: Mailset docs](https://mailset.app/docs/cli/devices.txt): Where you are signed in, and signing a device out. - [DNS connection: Mailset docs](https://mailset.app/docs/cli/dns.txt): Let Mailset write the records in your own DNS account. - [Domains: Mailset docs](https://mailset.app/docs/cli/domains.txt): Add a domain, check its records, and set its policies. - [Drafts: Mailset docs](https://mailset.app/docs/cli/drafts.txt): Save a draft, attach files, and throw one away. - [Exports: Mailset docs](https://mailset.app/docs/cli/exports.txt): A copy of your whole account, to download. - [Follow-ups: Mailset docs](https://mailset.app/docs/cli/followups.txt): Email you sent that still waits for an answer. - [Forwarding: Mailset docs](https://mailset.app/docs/cli/forwarding.txt): Send a mailbox’s new email on to another address. - [Key status: Mailset docs](https://mailset.app/docs/cli/grants.txt): What the key making a call may do, and when it stops. - [Groups: Mailset docs](https://mailset.app/docs/cli/groups.txt): One address that reaches several mailboxes. - [Event hook: Mailset docs](https://mailset.app/docs/cli/hooks.txt): The webhook that hears what became of your product’s email. - [Imports: Mailset docs](https://mailset.app/docs/cli/imports.txt): Copy a mailbox’s email over from a Google account. - [Invites: Mailset docs](https://mailset.app/docs/cli/invites.txt): Invites nobody has accepted yet. - [App keys: Mailset docs](https://mailset.app/docs/cli/keys.txt): The keys your product’s servers hold, and what each one may do. - [Labels: Mailset docs](https://mailset.app/docs/cli/labels.txt): Your own labels for conversations. - [Mailboxes: Mailset docs](https://mailset.app/docs/cli/mailboxes.txt): Create mailboxes, and decide who holds each one. - [Members: Mailset docs](https://mailset.app/docs/cli/members.txt): Invite people, change roles, and remove someone. - [Messages: Mailset docs](https://mailset.app/docs/cli/messages.txt): Send email: whole messages from your product, or a person’s own. - [Notes: Mailset docs](https://mailset.app/docs/cli/notes.txt): A note in a shared conversation, for the team only. - [Organizations: Mailset docs](https://mailset.app/docs/cli/orgs.txt): The orgs you are in, and an org’s name. - [Paper key: Mailset docs](https://mailset.app/docs/cli/paperkey.txt): The org’s way back in when every passkey is lost. - [Passkeys: Mailset docs](https://mailset.app/docs/cli/passkeys.txt): The passkeys that sign you in. - [Policies: Mailset docs](https://mailset.app/docs/cli/policies.txt): The org’s rules on forwarding and sessions. - [Postmaster: Mailset docs](https://mailset.app/docs/cli/postmaster.txt): How Gmail sees each of your domains. - [Notifications: Mailset docs](https://mailset.app/docs/cli/push.txt): The devices that get push notifications. - [Inbound routes: Mailset docs](https://mailset.app/docs/cli/routes.txt): Email to a subdomain, delivered to your webhook. - [Rules: Mailset docs](https://mailset.app/docs/cli/rules.txt): File, label or forward new email as it arrives. - [Senders: Mailset docs](https://mailset.app/docs/cli/senders.txt): Photos for the addresses you send from, and who writes to you. - [Sending domains: Mailset docs](https://mailset.app/docs/cli/sending.txt): Sending-only subdomains, their suppressions, and your org’s limits. - [Settings: Mailset docs](https://mailset.app/docs/cli/settings.txt): Your own preferences, on every device. - [Sign in and help: Mailset docs](https://mailset.app/docs/cli/start.txt): Sign in, sign out, read a guide, send feedback. - [Storage: Mailset docs](https://mailset.app/docs/cli/storage.txt): How much email each of your mailboxes holds. - [Tab rules: Mailset docs](https://mailset.app/docs/cli/tabrules.txt): Always file a sender or a domain in one inbox tab. - [Conversations: Mailset docs](https://mailset.app/docs/cli/threads.txt): List, search, read and file conversations. - [API tokens: Mailset docs](https://mailset.app/docs/cli/tokens.txt): A person’s own login for scripts. - [Unsubscribes: Mailset docs](https://mailset.app/docs/cli/unsubscribes.txt): Who opted out of a mailbox’s or sending domain’s promotional email. - [Vacation replies: Mailset docs](https://mailset.app/docs/cli/vacation.txt): The reply people get while you are away. - [Who am I: Mailset docs](https://mailset.app/docs/cli/whoami.txt): Who a credential signs in as. - [Send many messages at once: Mailset docs](https://mailset.app/docs/recipes/batches.txt): Up to 100 messages a request, each with its own answer. - [Handle bounces: Mailset docs](https://mailset.app/docs/recipes/bounces.txt): Tell a dead address from a full inbox, and keep your list clean. - [Give sign-in codes a deadline: Mailset docs](https://mailset.app/docs/recipes/deadlines.txt): Use deliverBy so a code that would arrive late is never sent. - [Keep a key alive: Mailset docs](https://mailset.app/docs/recipes/keys.txt): Check your key at boot and daily, so it never stops for lack of use. - [Send your own MIME: Mailset docs](https://mailset.app/docs/recipes/mime.txt): Build the whole message yourself and hand it over as base64. - [Retry without sending twice: Mailset docs](https://mailset.app/docs/recipes/retries.txt): Make a send safe to repeat with an idempotency key or a Message-ID. - [Send from a domain whose mail stays elsewhere: Mailset docs](https://mailset.app/docs/recipes/sending-only.txt): Send as your domain’s addresses while your team’s mail stays at Google or Microsoft. - [Handle skipped recipients: Mailset docs](https://mailset.app/docs/recipes/skipped.txt): What Mailset leaves out of product email, and what to tell the person. - [Honor unsubscribes and complaints: Mailset docs](https://mailset.app/docs/recipes/unsubscribes.txt): Stop writing to people who opt out or report spam, with Mailset’s link or your own. - [Mailset Go SDK: send email from Go](https://mailset.app/docs/sdk/go.txt): Install the Mailset Go SDK, send email, verify webhooks and handle errors, with examples that run. - [Mailset Java SDK: send email from Java](https://mailset.app/docs/sdk/java.txt): Install the Mailset Java SDK, send email, verify webhooks and handle errors, with examples that run. - [Mailset PHP SDK: send email from PHP](https://mailset.app/docs/sdk/php.txt): Install the Mailset PHP SDK, send email, verify webhooks and handle errors, with examples that run. - [Mailset Python SDK: send email from Python](https://mailset.app/docs/sdk/python.txt): Install the Mailset Python SDK, send email, verify webhooks and handle errors, with examples that run. - [Mailset Ruby SDK: send email from Ruby](https://mailset.app/docs/sdk/ruby.txt): Install the Mailset Ruby SDK, send email, verify webhooks and handle errors, with examples that run. - [Mailset Rust SDK: send email from Rust](https://mailset.app/docs/sdk/rust.txt): Install the Mailset Rust SDK, send email, verify webhooks and handle errors, with examples that run. - [Mailset Node.js SDK: TypeScript and JavaScript](https://mailset.app/docs/sdk/typescript.txt): The Mailset Node.js SDK for TypeScript and JavaScript: install it, send email, verify webhooks, handle errors. - [API reference: Mailset docs](https://mailset.app/docs/api.txt): Every command as an HTTP request: its fields, who may call it, and what it answers. - [Authentication: Mailset docs](https://mailset.app/docs/authentication.txt): Make an app key, keep it as MAILSET_KEY, and the SDK signs every request with it. - [CLI reference: Mailset docs](https://mailset.app/docs/cli.txt): Every mailset command: its usage, flags, who can run it, and an example. - [Errors and limits: Mailset docs](https://mailset.app/docs/errors.txt): Every error code, what a sending limit does to a message, and when to try again. - [SDKs: Mailset docs](https://mailset.app/docs/sdk.txt): An official SDK for each language your server runs, and what every one of them does the same way. - [Webhooks: Mailset docs](https://mailset.app/docs/webhooks.txt): The events Mailset posts about your product’s email, and how to check a request’s signature. - [Mailset docs](https://mailset.app/docs.txt): Send email from your product with an SDK, the CLI or the HTTP API, and hear what became of each message. ## Send-email - [Send email from Cloudflare Workers with Mailset](https://mailset.app/send-email/cloudflare-workers.txt): Send email from Cloudflare Workers with the Mailset SDK: the key from env, fetch and WebCrypto only, webhooks verified from request.text(). Run in workerd. - [Send email from Django with Mailset](https://mailset.app/send-email/django.txt): Send email from a Django view with the Mailset SDK, and verify webhooks from request.body in a csrf_exempt view. Tested with Django’s own test client. - [Send email from Express with Mailset](https://mailset.app/send-email/express.txt): Send email from an Express route with the Mailset SDK, and verify webhooks with express.raw() so the signature still matches. Run on Express 5. - [Send email from FastAPI with Mailset](https://mailset.app/send-email/fastapi.txt): Send email from FastAPI with AsyncMailset or Mailset, and verify webhooks from await request.body() instead of a Pydantic model. Typed, Python 3.9+. - [Send email from Flask with Mailset](https://mailset.app/send-email/flask.txt): Send email from a Flask route with the Mailset SDK and no Flask-Mail or SMTP settings, and verify webhooks from request.get_data(). Python 3.9+. - [Send email from Go (Golang) with Mailset](https://mailset.app/send-email/go.txt): Send email from Go 1.22+ with go get mailset.app/go: a context-aware client, typed structs, a net/http webhook handler, and mail from your own domain. - [Send email from Java with the Mailset SDK](https://mailset.app/send-email/java.txt): Send email from Java 17+: a builder for each message, a thread-safe client with an async twin, webhook checks, and no JavaMail session to configure. - [Send email from Laravel with Mailset](https://mailset.app/send-email/laravel.txt): Send email from Laravel with the Mailset PHP SDK, queue sends safely with idempotency keys, and verify webhooks in routes/api.php. - [Send email from NestJS with Mailset](https://mailset.app/send-email/nestjs.txt): Send email from a NestJS service with the Mailset SDK, and verify webhooks from req.rawBody with rawBody: true. Run on NestJS 11, typed end to end. - [Send email from Next.js with Mailset](https://mailset.app/send-email/nextjs.txt): Send email from a Next.js route handler or server action, and verify Mailset webhooks in app/api with request.text(). One package, no dependencies. - [Send email from Node.js and TypeScript](https://mailset.app/send-email/nodejs.txt): Send email from Node.js, Bun, Deno or Cloudflare Workers with the Mailset SDK: one npm package with no dependencies, a typed send and webhook checks. - [Send email from PHP with the Mailset SDK](https://mailset.app/send-email/php.txt): Send email from PHP 8.1+ with composer require mailset-app/php: an array in, a typed receipt out, webhook checks, and mail from your own domain. - [Send email from Python with the Mailset SDK](https://mailset.app/send-email/python.txt): Send email from Python 3.9+ with pip install mailset: a typed client for blocking code or asyncio, webhook checks, and mail from your own domain. - [Send email from Rails with the Mailset gem](https://mailset.app/send-email/rails.txt): Send email from Ruby on Rails with the mailset gem, and verify webhooks in a controller with request.raw_post and skip_forgery_protection. - [Send email from Ruby with the Mailset gem](https://mailset.app/send-email/ruby.txt): Send email from Ruby 3.0+ with gem install mailset: send_email with keyword arguments, RBS types, webhook checks and mail from your own domain. - [Send email from Rust with the Mailset crate](https://mailset.app/send-email/rust.txt): Send email from Rust 1.88+ with cargo add mailset: an async client on Tokio, a message builder, an Axum webhook handler and mail from your own domain. - [Send email from Spring Boot with Mailset](https://mailset.app/send-email/spring-boot.txt): Send email from Spring Boot without JavaMailSender or SMTP settings, and verify Mailset webhooks in a controller that takes the body as byte[]. - [Send email from Symfony with Mailset](https://mailset.app/send-email/symfony.txt): Send email from a Symfony controller with the Mailset PHP SDK, and verify webhooks from $request->getContent(). Run on real Symfony requests. - [Send email from your code: SDK guides](https://mailset.app/send-email.txt): Guides to sending email with Mailset’s SDKs in TypeScript, Python, Go, Ruby, PHP, Java and Rust, and from Next.js, FastAPI, Rails, Laravel and Spring Boot. ## Ai-email-assistant - [AI email assistant that writes replies in your voice](https://mailset.app/ai-email-assistant.txt): Press Draft with AI and Mailset writes the reply the way you would, from your own domain. Plus summaries, sorted tabs and phishing warnings. From $29 a month. ## Business-email - [Business email on your own domain](https://mailset.app/business-email.txt): Custom domain email for your whole team: a professional email address for everyone, shared inboxes and AI sorting. $29 a month for up to 10 people. ## Google-workspace-alternative - [Google Workspace alternative: pricing compared](https://mailset.app/google-workspace-alternative.txt): Stop paying for email by the seat. On Mailset, up to 10 people pay $29 a month, with shared inboxes, AI and product email included. ## Mailgun-alternative - [Mailgun alternative: pricing and features](https://mailset.app/mailgun-alternative.txt): Look up any email your product sent in the last 90 days, by Message-ID, recipient or status. Your team’s mail on the same bill: $29 a month. ## Microsoft-365-alternative - [Microsoft 365 alternative: pricing compared](https://mailset.app/microsoft-365-alternative.txt): A license for every person adds up. On Mailset, up to 10 people pay $29 a month, with AI that sorts and drafts and shared inboxes included. ## Postmark-alternative - [Postmark alternative: pricing and features](https://mailset.app/postmark-alternative.txt): Replies to your receipts and sign-in codes land in a shared inbox your team answers from, not a webhook. $29 a month for 10,000 emails. ## Pricing - [Pricing: one price for the team](https://mailset.app/pricing.txt): $29 a month covers up to 10 people on Mailset, with unlimited mailboxes, shared inboxes, AI and 10,000 emails. See the plans and work out your own bill. ## Privacy - [Privacy Policy](https://mailset.app/privacy.txt): What Mailset collects and why, who else handles it, where it’s stored, how long we keep it, and how to export your data, delete it or close your account. ## Resend-alternative - [Resend alternative: pricing and features](https://mailset.app/resend-alternative.txt): Real mailboxes for your team, and your product’s email sent with an official SDK in 7 languages, on one bill: $29 a month for 10,000 emails. ## Sendgrid-alternative - [SendGrid alternative: pricing and features](https://mailset.app/sendgrid-alternative.txt): Receipts and newsletters on one plan, unsubscribes handled, sent with an official SDK in 7 languages. Your team’s mail is on the bill too: $29 a month. ## Shared-inbox - [Shared inbox for your team, included in every plan](https://mailset.app/shared-inbox.txt): Give support@ or sales@ to the whole team. Each conversation gets one owner, replies go out from the team address, and notes stay internal. From $29 a month. ## Support - [Support](https://mailset.app/support.txt): Reach the Mailset team in the chat or with mailset feedback from a terminal, and see what a request for higher sending limits needs. ## Terms - [Terms](https://mailset.app/terms.txt): The terms for using Mailset: accounts, fair use, plans, trials, seats, pay as you go credit, cancelling, refunds, taxes and governing law. ## Zoho-mail-alternative - [Zoho Mail alternative: pricing compared](https://mailset.app/zoho-mail-alternative.txt): A cheap mailbox leaves the sorting to you. Mailset sorts, summarizes and drafts, shares support@ with your team and sends your product’s email: $29 a month. --- Formats: .txt | .md | Accept: text/plain | Accept: text/markdown --- © 2026 Intenseloop, Inc. Mailset’s site, docs and guides are copyrighted. You may read them and use their code to build with Mailset. Don’t republish them or use them to build a copy of Mailset. Terms: https://mailset.app/terms#content