Novo guia: como aquecer um IP dedicado sem prejudicar sua reputação. Ler agora →
MigoSMTP
E-mail de entrada

Receba e processe e-mails recebidos

Transforme respostas e mensagens recebidas em eventos estruturados que seu aplicativo pode tratar.

A classificação de intenção por IA organiza respostas, avisos de ausência e reclamações para você.

Domínio de entrada
TIPO
NOME
VALOR
MX
replies
mx.migosmtp.com
TXT
replies
v=spf1 include:migosmtp.com ~all
CNAME
_verify.replies
verify.migosmtp.com
Aguardando o DNS
Registro MX
Qualquer subdomínio
Aponte seu MX para nósAdicione um registro MX para um subdomínio, como replies.example.com, e os e-mails enviados a ele passam a chegar ao MigoSMTP.
Cliente
mx.migosmtp
De
Assunto
Anexo
{
"from": "[email protected]",
"subject": "Help",
"text": "Hi team…",
"attachments": 1
}
POST para o seu webhook
Estruturado
Anexos
Cada mensagem vira dadoO e-mail bruto é dividido em remetente, assunto, texto, HTML e anexos, e devolvido como um JSON limpo.
Cabeçalhos de entrada
Received: from mx.gmail
X-Spam-Score: 0.4
Authentication-Results:
spf=pass dkim=pass
dmarc=pass
Return-Path: <[email protected]>
Content-Type: multipart
Subject: Help
Spam · pontuação 0.4Risco baixo
Autenticação · SPF e DKIM aprovadosConfiável
Tamanho · [n] KBDentro do limite
SPF aprovado
DKIM aprovado
DMARC aprovado
Pontuação de spam
Resultados de autenticação
Filtrado antes de chegar até vocêA pontuação de spam e os resultados de SPF e DKIM acompanham cada mensagem, para que seu código decida em que confiar.
E-mail de entrada
POST assinado
/inbound
200 OK
Central de atendimento
200 OK
Fluxo de trabalho
Nova tentativa em 30s
Webhook
Novas tentativas
Enviado ao seu endpointAs mensagens processadas são enviadas por POST ao seu webhook, com novas tentativas, para que tickets, respostas e fluxos de trabalho comecem na hora.
GET /v1/inbound/msg_[id]
GET /v1/inbound/msg_[id]
Accept: application/json
Resposta
200 OK
{ "attachments": [
{ "url": "…" } ] }
Links de curta duração
Anexo pronto
Modelo pull
URLs assinadas
Busque os anexos sob demandaAnexos grandes ficam armazenados até você pedir, mantendo os payloads do webhook pequenos e rápidos.
Classificador de entrada
IA
“Onde está o meu pedido?”Solicitação de suporte
Suporte
“Fatura em anexo”Cobrança
Financeiro
“Por favor, cancele minha inscrição”Descadastro
Suprimir
“Talvez no próximo trimestre…”Indefinido
Humana
Detecção de intenção
Revisão humana
A IA lê as respostas e as encaminhaCada mensagem recebida é classificada por intenção e enviada à fila ou ao webhook certo. As de baixa confiança vão para uma pessoa, em vez de adivinhar.
Apontar MX
Processar
Filtrar
Entregar
Buscar
Roteador de IA
Relay SMTPAPI RESTWebhooksIPs dedicadosAssinatura DKIMInbound parseTemplatesAnálisesListas de supressãoMonitoramento de reputaçãoValidação de e-mailFunções de equipe e log de auditoriaRelay SMTPAPI RESTWebhooksIPs dedicadosAssinatura DKIMInbound parseTemplatesAnálisesListas de supressãoMonitoramento de reputaçãoValidação de e-mailFunções de equipe e log de auditoria
Recursos

Trate as respostas como qualquer outro evento

Domínios de entrada

Aponte um registro MX para o MigoSMTP em um subdomínio de sua escolha.

Point the MX record of a subdomain you choose, such as reply.example.com, at MigoSMTP and we accept mail for that domain on your behalf. Your main mailbox provider is untouched. This is the usual setup for support inboxes, reply tracking and email-to-ticket workflows.

  • Use um subdomínio dedicado
  • No change to your primary mail
  • Verify DNS from the dashboard

Convertido em JSON

Cabeçalhos, corpo e anexos chegam em uma estrutura limpa.

Raw MIME is hard to work with. We parse each message into a clean structure with headers, plain text, HTML, sender, recipients and attachments, so your application reads fields instead of writing a parser.

  • Headers, text and HTML separated
  • Attachments listed with metadata
  • JSON delivered to your endpoint

Regras de roteamento

Envie endereços diferentes para endpoints diferentes.

Routing rules decide where each address goes. Send support@ to your helpdesk, invoices@ to finance automation and a catch-all to a review queue, all from one inbound domain.

  • Route by address or pattern
  • Multiple endpoints per domain
  • Change rules without code

Tratamento de anexos

Receba arquivos com limites de tamanho definidos por você.

Accept files up to limits you set, so a large attachment cannot overwhelm your endpoint. Attachments arrive alongside the parsed message and are available for your workflow to store or process.

  • Size limits you control
  • Attachment metadata included
  • Fits document and receipt workflows

Verificações de spam e vírus

Filtre os e-mails recebidos antes que cheguem ao seu app.

Screen incoming mail before it reaches your application. Spam and virus checks remove obvious abuse so your downstream systems only see mail worth processing.

  • Checks run before delivery
  • Reduces junk in support queues
  • Keeps downstream systems cleaner

Entrega assinada

Verifique se cada payload veio de nós.

Each delivery to your endpoint is signed, so your application can confirm that a payload really came from MigoSMTP and was not forged or altered in transit.

  • Verify the signature on every request
  • Reject unsigned traffic
  • Retries if your endpoint is unavailable

Como funciona

RemetenteQualquer pessoa envia um e-mail para um endereço do seu subdomínio de respostas.
Entrada do MigoSMTPRecebe a mensagem, filtra, converte em JSON e associa a uma rota.
Seu aplicativoRecebe um webhook assinado com cabeçalhos, corpo e detalhes dos anexos.
ETAPA 1

Adicione um domínio de entrada

Publique o registro MX de um subdomínio.

ETAPA 2

Crie uma rota

Defina um padrão de endereço e escolha um webhook.

ETAPA 3

Trate o payload

Seu app recebe cada mensagem como JSON.

Veja em ação

Inbound email in action

Each stage plays automatically. Select one to pause on it. Illustrative interface: all figures and addresses shown are sample data.

app.migosmtp.com/inboundDados de exemplo
Domínio
reply.example.com
MX
Verificado
Modo
Processar
Sample activityReceive
dnsMX record found
verifydomain verified
acceptinbound enabled
testtest mail received
Formato
JSON
Parts
Text + HTML
Files
Listado
Sample activityProcessar
headersextracted
textplain and HTML
attachmentinvoice.pdf
payloadready to deliver
Regras
3
Default
Revisar
Match
By address
Sample activityRota
support@to helpdesk
invoices@to finance
catch-allto review queue
rulechange without code
Spam
Verificado
Virus
Verificado
Assinado
Sim
Sample activityProteger
screenspam check passed
scanattachment scanned
signpayload signed
deliver200 from endpoint
Reply handling

Support inboxes, reply tracking and email-to-app flows

Use inbound routes to capture replies to transactional email, create tickets or feed workflows.

  • Per-route webhook endpoints
  • Retry on failure with backoff
  • Searchable inbound logs
  • Size and type limits
At a glance01 / 04
SetupMX record on a subdomain
DeliverySigned webhook
FormatJSON with parsed fields
LimitsMessage and attachment size set per route
Overview

What is inbound email?

Inbound email parsing is the process of receiving email sent to your domain and converting it into structured data your application can use. With MigoSMTP, you publish an MX record for a subdomain, create routes that match address patterns, and each message arrives at your webhook as JSON with headers, text, HTML and attachment information already parsed. It works much like our other event features, so existing webhook handling code can often be reused.

It is meant for developers who need to act on replies and incoming mail without running a mail server. Typical flows include support inboxes that create tickets, reply tracking for transactional mail, and email-to-app features such as uploading documents by email. Routing rules send different addresses to different endpoints, and each delivery is signed so you can verify its origin. Searchable inbound logs let you find a message, inspect the payload sent to your endpoint and replay it if processing failed.

Handling replies matters for deliverability because genuine replies are a strong engagement signal, and unread bounces or complaints sent to a no-reply address are lost. Capturing them lets you act quickly. AI intent classification can sort inbound messages into replies, out-of-office notices, unsubscribe requests and complaints, so your systems respond appropriately. Replies also show which addresses are active, which helps keep lists clean over time and gives you a record of what recipients said. Combined with webhooks and logs, inbound routes close the loop between what you send and what comes back.

Use cases

Common inbound email use cases

Support inbox to ticket

Route support@ on a reply subdomain to your helpdesk endpoint. Each email becomes a ticket with sender, subject and attachments, without polling a mailbox.

Tracking replies to transactional mail

Set a reply-to on a reply subdomain with a token in the address. When someone responds, inbound email routing ties the reply to the right order or conversation.

Email-to-app uploads

Let users forward invoices or documents to a unique address. Parsed attachments arrive at your endpoint, ready to store or process, within the size limits you configure.

Handling auto-replies and unsubscribes

Capture out-of-office notices and unsubscribe requests sent by reply, then update contact status automatically so you stop mailing people who asked you to stop.

Document intake by email

Give each customer or project its own address on your reply subdomain. Forwarded contracts and invoices arrive as parsed attachments and can be filed automatically.

Bounce and complaint mailboxes

Route replies sent to a no-reply or abuse address into your own workflow, so a genuine complaint is read by a person and not lost.

Choosing a method

Inbound parsing or running your own mailbox?

Both receive email. They differ in who maintains the plumbing.

MigoSMTP inboundYour own mailbox or server
How mail arrivesPushed to your webhook as JSONYou poll a mailbox or run a mail server
ParsingHeaders, text, HTML and attachments already structuredYou write and maintain a parser
RoutingRules per address patternYour own code or filters
FailuresRetries and replay from the logsDepends on what you build

Use a dedicated subdomain for inbound so your regular mailboxes are not affected.

AI features

AI-assisted inbound email

Classify

Intent classification

Each inbound message can be labelled as a genuine reply, out-of-office, unsubscribe request, complaint or sales enquiry. You map labels to routes, and low-confidence items go to a person.

Assist

Suggested reply drafts

For support routes, the assistant drafts a response from your knowledge base. A human reviews and sends it; nothing goes out automatically unless you configure that rule yourself.

Copilot

Thread summaries

Long reply chains are condensed into a short summary and a suggested next action, helping agents pick up conversations quickly. Original messages stay available in the logs.

Risk

Spam and abuse scoring

AI risk scoring complements spam and virus checks by rating suspicious inbound messages. You choose whether high-risk items are quarantined, flagged or still delivered.

AI features are assistive: classification and drafts support your workflow, and you decide the routing rules and what is sent.

Best practices

Best practices for inbound email

Use a dedicated subdomain

Put the MX record on a subdomain like reply.yourdomain.com so your normal mailboxes keep working and inbound traffic stays isolated.

Verify every signature

Check the signature header before processing a payload. Treat unsigned requests as untrusted, since anyone could post to a public URL.

Acknowledge fast, process later

Return a success response quickly and queue the work. Slow handlers trigger retries and duplicate deliveries.

Make handlers idempotent

Retries can deliver the same message twice. Deduplicate on message ID so replays from the logs never create duplicate tickets.

Set attachment limits deliberately

Decide maximum size and allowed file types per route. Rejecting oversized or unexpected files early protects downstream systems.

Log the message ID

Store the identifier from each payload next to your record. It makes replays, support lookups and de-duplication straightforward.

FAQs

Inbound email: frequently asked questions

Planning a support inbox or reply workflow? Our team can review the setup with you.

What is inbound email parsing?

Inbound email parsing receives email sent to an address you control and converts it into structured data, usually JSON with sender, subject, body and attachments. Your application gets it by webhook, so it can act on messages without running a mail server.

How do I receive email in my app with MigoSMTP?

Add an inbound domain, publish the MX record for a subdomain, create a route matching an address pattern, and point it at your HTTPS webhook. Each incoming message is posted to that endpoint as signed JSON.

Can I receive email on my main domain?

We recommend a dedicated subdomain so your regular mail is not affected. An MX record sends all mail for that name to the receiving service, so using the root domain would redirect your normal mailboxes.

What happens if my webhook endpoint is down?

Deliveries are retried, and you can replay them from the inbound logs once your endpoint recovers. Return a success response only after you have safely received the payload. Make your handler idempotent, so a replayed delivery changes nothing a second time.

Are attachments included in the payload?

The payload describes each attachment. Size and type limits are set per route, so you decide what your application accepts. Test with a few real files to see how your handler should treat them, and set strict limits for each route.

What is the difference between inbound email and webhooks?

Inbound email handles messages sent to you and posts them to your endpoint. Webhooks more broadly report events about messages you sent, such as delivered or bounced. Inbound uses webhooks as its delivery mechanism, so the same signature checks apply.

Does AI read my inbound email?

Only if you enable it. AI classification and summaries run on routes where you turn them on, and the results are suggestions you map to your own rules. A person can review any message.

Are inbound messages scanned for spam and viruses?

Yes. Incoming mail can be screened before it reaches your application, and you choose whether flagged messages are rejected, tagged or held for review. Every decision is recorded in the logs, so handling stays auditable.

From the blog

Latest analysis, trends and market data

Comece a enviar em minutos.

Crie uma conta, adicione seu domínio e envie seu primeiro e-mail.

Começar grátis Falar com vendas