One API for the complete email lifecycle

Turn raw email into decisions.

Validate addresses, understand their context, and turn inbound messages into workflows. Catch bad data before it spreads, enrich useful signals, send transactional mail, and move complete mailboxes between providers.

See the API
Privacy by design No API payloads stored EU company
Example API traffic
/email/analyzereq_0041
INPUTlead-1042@research.example

Ebook download registration

DECISIONQualified lead

Deliverable · not disposable · ebook delivery triggered

ACCEPT 98%
EU COMPANYPRIVACY FIRST
European by origin, private by design

Your email data is processed. Not collected.

As a service of a German company, Maail is governed by European law. Address analysis and spam classification are stateless: we return the result and discard the submitted payload. For sending, inbound email and mailbox migration, only the operational data required to complete the requested task is retained.

01
No analysis storage

Email addresses and message content submitted for analysis are not retained after the result is returned.

02
EU-based company

Privacy is a core operating principle shaped by European data-protection standards.

03
Purpose-limited processing

Inbound, sending and migration data is handled only for the workflow you explicitly request.

04
Clear data boundaries

Transient intelligence endpoints stay separate from services that require operational state.

Five capabilities · one coherent API

Email infrastructure your product can reason about.

Each capability solves a concrete job. Together they cover the path from the first address entered into a form to the last message your application receives, sends or moves between providers.

01
Email address intelligence

Should this address be used in your product?

Maail looks beyond syntax and identifies what kind of mailbox you are dealing with. Use the result to qualify signups or trigger gated-content delivery, such as emailing an ebook to a reachable lead.

  • Syntax, domain and MX signals
  • Disposable and temporary providers
  • Company, university and free-mail context
  • Role account and name inference
  • Reliable gated-content and ebook delivery
Analyze an email address
INPUTdemo-user-1042@research.example
OUTPUTeducation · personal · accept
businesseducationpersonalroledisposableinvalid
02
Inbound email

Turn an inbox into a webhook for AI workflows.

Give a workflow its own inbound address. Maail receives the message, normalizes email complexity and delivers a structured event to your application.

  • Dedicated inbound addresses
  • Normalized MIME and message bodies
  • Attachment metadata
  • Signed webhook delivery
  • Routing by address or recipient
Build an inbound flow
INPUTinvoice-route@inbound.example
OUTPUTemail.received → your webhook
messageheadersparticipantstexthtmlattachments
03
Send API + templates

Send product email with one API call.

Send transactional messages directly or render a reusable template with variables. Your application provides the data; Maail builds and accepts the message.

  • Simple JSON send endpoint
  • Reusable HTML and text templates
  • Per-recipient template variables
  • Idempotency for safe retries
  • Message ID and accepted status
Explore the sending API
INPUTtemplate: invoice-ready
OUTPUTmsg_01K4… · queued
fromtosubjecttemplatevariablesmessage_id
04
LLM spam classification

Is this message spam or ham?

Send raw RFC 822 or structured message content. Maail uses an LLM to understand the intent and returns a decision your mail gateway or product can act on.

  • Context-aware spam / ham decision
  • Raw message or structured JSON input
  • Confidence score and reason codes
  • Works beside reputation and rule engines
  • Suitable for Milter and inbound pipelines
Classify a message
INPUTUrgent: confirm your credentials
OUTPUTspam · 0.97 · credential_phishing
spamhamscorereason_codesmodelrequest_id
05
Mailbox migration API

Move an entire mailbox between providers.

Connect a source and destination mailbox, then let Maail copy the complete history while preserving the structure users expect. Run a final catch-up pass before switching MX records so nothing is missed.

  • IMAP-to-IMAP migration
  • Folders, flags and internal dates
  • Resumable background jobs
  • Progress and verification status
  • Incremental catch-up before cutover
Plan a mailbox migration
SOURCE → DESTINATIONold-provider.eu → new-provider.eu
RESULT18,420 messages · 37 folders · complete
sourcedestinationfoldersmessagesprogressstatus
What teams build with Maail

From signups to security workflows.

Connect address signals and incoming messages to the decisions your product already owns. Keep approval rules, business mappings, and exceptions explicit.

01 · ONBOARDING

Cleaner signups

Catch malformed addresses before creating an account. Use disposable and role-account signals to guide review, not to assume every unusual address is fake.

Explore signup validation
02 · BILLING

Receipts into your workflow

Route invoice and receipt messages to a dedicated intake. Map the event into your ERP or BI system, with human review where financial decisions need it.

Plan invoice intake
03 · SECURITY

Authentication reports with context

Compare DMARC source volumes and alignment with approved senders. Agree alert and ticket rules during monitoring onboarding instead of treating every failure as an attack.

Explore DMARC monitoring
04 · SUPPORT

Route by role and intent

Combine role-address signals with message classification to suggest a queue. Keep unknown cases and low-confidence decisions available for your team to review.

Explore support routing
05 · OPERATIONS

Order updates as events

Connect confirmations and shipping notices to your order workflow. Validate sender context and business identifiers before changing fulfilment state.

Plan order events
06 · SALES

Lead context, not guesswork

Add domain, role-account, and likely-name signals to CRM records when evidence is available. Treat inferred details as hints, not verified identity.

Explore address analysis
DMARC · Reports into decisions

Know who sends as your domain.

Inspect your policy, read aggregate reports and plan a controlled enforcement rollout. Start with the free tools; discuss ongoing collection and workflows when you are ready.

01 · INSPECT

Policy, with context

Decode tags, discover inherited policies and review reporting authorization evidence.

Run the DMARC inspector
02 · UNDERSTAND

Read the XML

Review source volumes and aligned SPF/DKIM outcomes. A failure is a question to investigate, not automatic proof of abuse.

Analyze a report
03 · OPERATE

Plan continuous monitoring

Agree sender ownership, reporting scope, retention and rollout decisions. Monitoring onboarding is by request, not activated by a lookup.

Explore DMARC monitoring
The same mental model everywhere

Input. Intelligence. Action.

Maail hides transport and parsing details behind predictable resources, events and decisions.

01 · INPUT

An address or message arrives

Call the API, send a message or let Maail receive email for a configured route.

JSONRFC 822SMTP
02 · INTELLIGENCE

Maail produces structured meaning

Provider data, message structure and model reasoning become a clean response.

signalsclassificationrouting
03 · ACTION

Your product decides what happens

Accept the user, reject spam, trigger a workflow or continue with a message ID.

responsewebhookstatus
API design

Small surface. Explicit results.

Every request uses Bearer authentication, JSON by default and a stable request ID. Raw email can also be normalized into structured JSON. This v1 draft does not yet specify raw RFC 822 submission or attachment uploads.

BASE URLhttps://api.maail.co/v1
Supporting resourcesPOST /inbound/domainsPOST /templatesPOST /mailbox-connectionsGET /mailbox-migrations/:idGET /messages/:idFull v1 design specification →
POST/email/analyze
application/json

Classify an email address and decide whether it belongs in your product.

REQUESTBearer ••••••••
{
  "email": "demo-user-1042@research.example"
}
200 RESPONSEx-request-id: req_01K4…
{
  "data": {
  "email": "demo-user-1042@research.example",
  "cleanedEmail": "demo-user-1042@research.example",
  "status": "valid",
  "reasonCodes": ["valid_syntax", "has_mx"],
  "mailbox": {"status": "not_checked"}
  },
  "meta": {"requestId": "req_demo_1042", "apiVersion": "v1"}
}
Synchronous decisionsAnalysis and classification return directly to the caller.
Signed eventsInbound messages arrive at your application as webhook events.
Idempotent writesSafely retry sends and route creation with an idempotency key.
Predictable errorsMachine-readable codes with a request ID for every failure.
Simple, usage-based pricing

Start small. Pay for what your product uses.

Every plan includes address intelligence, inbound routes, transactional sending, spam classification, and API access. Upgrade when volume grows.

Developer
€19/ month

For prototypes and small production workflows.

  • 5,000 API operations
  • 1,000 sent or received emails
  • 3 inbound routes
  • Community support
Scale
€249/ month

For higher-volume and business-critical systems.

  • 250,000 API operations
  • 50,000 sent or received emails
  • Unlimited inbound routes
  • Priority support and SLA options

Additional usage is billed monthly. Mailbox migrations are priced separately by mailbox size and volume.

Questions, answered

The details that matter.

Have a specific mail flow or volume in mind?

Talk to us
Is Maail an email validation API?

Validation is one signal, but the product goes further. Maail classifies the mailbox and its context—such as business, education, personal, role-based or disposable—and returns a recommendation your product can use directly.

How do inbound emails reach my application?

You create an inbound route and receive an address such as invoice-route@inbound.example. Every message to that route is normalized and delivered as a signed email.received event to your webhook.

Can I send without using a template?

Yes. The messages endpoint accepts direct subject, HTML and text content, or a stored template plus variables. Templates are useful for repeated transactional messages but are not mandatory.

Does LLM classification replace SpamAssassin?

It can be used independently, but the strongest mail pipeline combines authentication, reputation, deterministic rules and semantic classification. Maail is the content-aware decision signal in that stack.

Can I use it from Postfix or milter.js?

Yes. Call the spam endpoint as an additional policy signal and define explicit timeout and fail-open behavior. For deeper analysis without SMTP latency, classify after accepting the message into the queue.

What is preserved during a mailbox migration?

Maail copies messages through IMAP while preserving folder structure, read and flagged states, and internal message dates. Migration jobs are resumable, expose progress and can perform an incremental catch-up pass immediately before the final provider switch.

Are email payloads stored?

Analysis and classification are transient by default. Inbound routing and sending retain only what is explicitly required by the configured workflow and delivery process.

Start with one endpoint

Make email useful to your software.

Tell us what arrives, what you need to know and what should happen next.

Include your use case and expected monthly volume