Overview
Maillayer is email you run by asking your AI agent: campaigns, transactional email, templates and contacts on your own domain, with an MCP server and a REST API.
Connect Claude, Codex, Cursor or any MCP client once, then say what you want. The guides walk through each part, and the API reference has every endpoint for your own code. Point any AI tool at /llms.txt for a plain-text map of these docs.
QuickstartSend your first email in about five minutes.Connect your AI agentOne command for Claude, Codex or Cursor.
Try asking your agent
Send a welcome email from [email protected] to [email protected]. Keep it short and friendly.
Draft a campaign to my Newsletter list about our new pricing. Show it to me before sending.
How did my last campaign do? Which links got the most clicks?
Not connected yet? It takes one command: connect your AI agent.
Common tasks
Send transactional emailReceipts, resets and alerts with one call, and their delivery status.Run a campaignSend to one or more lists, schedule it, spread it out or warm it up.Verify a domainThe DKIM, return-path and DMARC records inboxes need to trust you.Import contactsAdd people by API or CSV, up to 250,000 rows, and group them into lists.Write templatesReusable designs with variables like {{ first_name }}.Buy creditsPacks from $9 for 10,000 emails, down to $0.22 per 1,000. Credits never expire.
Guides
Send transactional emailSend receipts, password resets and alerts with one API call. Idempotency keys, delivery status and test sends explained.Templates and variablesReusable email templates with Liquid variables like {{ first_name }}, defaults, aliases and the visual or HTML editor.Contacts and listsAdd contacts by API or CSV import (up to 250,000 rows), group them into lists, store custom properties and locations.IntegrationsBring in people from Stripe, Firebase, Supabase or Airtable automatically: new customers, sign-ups and rows become contacts.CampaignsWrite a campaign, send it to one or more lists without duplicates, schedule it, warm up a new domain and read the results.Contact checksHow Maillayer checks every new contact for bad addresses, dead domains, disposable inboxes and spam-listed IPs, and skips risky ones.DeliverabilitySending limits and warm-up for new accounts, bounces, spam complaints, suppressions and one-click unsubscribe in Maillayer.Credits and billingMaillayer is pay-per-email: packs from $9 for 10,000 emails down to $0.22 per 1,000, credits that never expire, plus optional auto-recharge.
API reference
API overviewMaillayer REST API basics: base URL, API key authentication, JSON requests, errors, status codes and idempotency.EmailsAPI reference for sending a transactional email and reading its delivery status and events.ContactsAPI reference for creating, updating and deleting contacts, with lists, properties, sign-up IP and location.AccountAPI reference for credits, today's campaign limit and what's left of it, and warm-up.ListsAPI reference for listing your contact lists and how many contacts each one has.TemplatesAPI reference for listing templates and creating or updating a template by alias.CampaignsAPI reference for creating campaign drafts, sending or scheduling them with warm-up, and reading their results.DomainsAPI reference for listing your sending domains and whether each one can send.