Skip to main content

Receiving Emails Overview

Mailofly allows you to accept inbound emails on your own domain, parse the headers, body, and attachments, and route them to your application via Inbound Webhooks.

Common Use Cases

  • Help Desk & Support: Receive replies to support tickets and route them to customer chat or ticket threads.
  • AI Inboxes & Autonomous Agents: Give an AI agent its own email address (agent@yourdomain.com) to read incoming inquiries and respond autonomously.
  • Email-to-Action Workflows: Create tasks, parse invoice receipts, or process data submissions sent via email.
  • Forwarding: Automatically forward incoming emails to your personal or team address.

Architecture

  1. DNS MX Record: Routes incoming mail for your domain or subdomain to Mailofly.
  2. Inbound Processing: Mailofly receives the raw MIME message, validates SPF/DKIM, parses headers, plaintext/HTML, and decodes attachments.
  3. Webhook Emission: A structured email.received JSON payload is delivered via HTTP POST to your webhook endpoint.

Next Steps

Related topics

Introduction