# Maillayer > Email for your product and your AI agents. Campaigns, transactional email, templates and contacts on your own domain, run from an AI agent through an MCP server, or from code through a REST API. Pay per email with one-time credit packs that never expire. Key facts: - MCP server: https://maillayer.com/api/mcp (Streamable HTTP). Authenticate with `Authorization: Bearer ml_...` using an API key from the dashboard. - MCP tools: get_account, send_email, get_email, list_domains, set_tracking_subdomain, list_templates, get_template, save_template, upsert_contact, delete_contact, list_lists, create_campaign, send_campaign, get_campaign, list_campaigns. send_campaign emails real people and delete_contact removes data, so confirm with the user first. get_account (GET /api/v1/account) shows credits, today's campaign limit, what's left of it and the warm-up step. - REST API base URL: https://maillayer.com/api/v1, JSON, same API keys. Errors look like `{ "error": { "code", "message" } }`. - Sending requires a verified domain (DKIM, return-path and DMARC records). Campaigns add the sender's postal address and an unsubscribe link automatically. - Pricing: $9 for 10,000 emails, $29 for 50,000 emails, $99 for 250,000 emails, $499 for 2,000,000 emails. One credit sends one email. No subscription; credits never expire. Optional auto-recharge. - New accounts warm up: 1,000 emails a day, then 5,000, 20,000 and 50,000. Each step comes after a day of clean sending (few bounces and spam reports), or by days 4, 8 and 15 at the latest. A campaign bigger than today's limit keeps going on the following days. Transactional email has no daily limit; only the API rate limit (300 requests a minute per key) applies. - Works with Claude, Codex, Cursor, Windsurf, GitHub Copilot and any MCP client. ## Getting started - [Introduction](https://maillayer.com/docs): Maillayer is email you run by asking your AI agent: campaigns, transactional email, templates and contacts, with an MCP server and a REST API. - [Quickstart](https://maillayer.com/docs/quickstart): Sign up, verify your domain, connect your AI agent and send your first email by asking for it, in about five minutes. - [Connect your AI agent](https://maillayer.com/docs/mcp): Connect Claude, Codex, Cursor or any MCP client to Maillayer, then just ask: send email, add contacts, write templates and run campaigns. - [Verify a sending domain](https://maillayer.com/docs/domains): Add your domain to Maillayer and publish the DKIM, return-path and DMARC records so inboxes trust your email. ## Guides - [Send transactional email](https://maillayer.com/docs/sending-email): Send receipts, password resets and alerts with one API call. Idempotency keys, delivery status and test sends explained. - [Templates and variables](https://maillayer.com/docs/templates): Reusable email templates with Liquid variables like {{ first_name }}, defaults, aliases and the visual or HTML editor. - [Contacts and lists](https://maillayer.com/docs/contacts): Add contacts by API or CSV import (up to 250,000 rows), group them into lists, store custom properties and locations. - [Integrations](https://maillayer.com/docs/integrations): Bring in people from Stripe, Firebase, Supabase or Airtable automatically: new customers, sign-ups and rows become contacts. - [Campaigns](https://maillayer.com/docs/campaigns): Write a campaign, send it to one or more lists without duplicates, schedule it, warm up a new domain and read the results. - [Contact checks](https://maillayer.com/docs/contact-checks): How Maillayer checks every new contact for bad addresses, dead domains, disposable inboxes and spam-listed IPs, and skips risky ones. - [Deliverability](https://maillayer.com/docs/deliverability): Sending limits and warm-up for new accounts, bounces, spam complaints, suppressions and one-click unsubscribe in Maillayer. - [Credits and billing](https://maillayer.com/docs/billing): Maillayer is pay-per-email: one-time packs from $9 for 10,000 emails that never expire, plus optional auto-recharge. ## API reference - [API overview](https://maillayer.com/docs/api): Maillayer REST API basics: base URL, API key authentication, JSON requests, errors, status codes and idempotency. - [Emails](https://maillayer.com/docs/api/emails): API reference for sending a transactional email and reading its delivery status and events. - [Contacts](https://maillayer.com/docs/api/contacts): API reference for creating, updating and deleting contacts, with lists, properties, sign-up IP and location. - [Account](https://maillayer.com/docs/api/account): API reference for credits, today's campaign limit and what's left of it, and warm-up. - [Lists](https://maillayer.com/docs/api/lists): API reference for listing your contact lists and how many contacts each one has. - [Templates](https://maillayer.com/docs/api/templates): API reference for listing templates and creating or updating a template by alias. - [Campaigns](https://maillayer.com/docs/api/campaigns): API reference for creating campaign drafts, sending or scheduling them with warm-up, and reading their results. - [Domains](https://maillayer.com/docs/api/domains): API reference for listing your sending domains and whether each one can send. ## Legal - [Terms of Service](https://maillayer.com/terms): The terms for using Maillayer, credits and payments. - [Privacy Policy](https://maillayer.com/privacy): What data Maillayer handles and why. - [Acceptable Use Policy](https://maillayer.com/acceptable-use): What you can and can't send. ## Optional - [Pricing](https://maillayer.com/#pricing): Credit packs and the pricing calculator. - [Sign up](https://maillayer.com/signup): Create an account. - [Support](mailto:hello@maillayer.com): Questions, billing and abuse reports.