Skip to main content
The AutoSend Inbound Email API lets your application receive incoming emails programmatically. When a message lands on one of your receiving domains, AutoSend fires an email.received webhook carrying the message metadata (message ID, sender, recipients, subject, receiving domain, and threading). Your application then calls a structured REST endpoint with that message ID to fetch the full message, including headers, plain text and HTML bodies, attachments, and verdicts. Use it to build support inboxes, parse customer replies, route email into internal tools, or store conversations alongside the rest of your data.
Jump straight to the Inbound Emails API reference for endpoints, request schemas, and response samples.

How the Inbound Email API works

1

Subscribe to the email.received event

Create a new webhook or reuse an existing one, and subscribe it to the email.received event. You can set this up from the Webhooks section of the dashboard. See the Webhooks introduction if you need a refresher on creating endpoints.
2

Receive an inbound notification

When an email arrives on one of your receiving domains, AutoSend delivers an email.received webhook to your endpoint. The payload includes the message ID, sender, recipient, subject, receiving domain, and threading metadata. See the full payload in the event types reference.
3

Fetch the full message via API

Use the message ID from the webhook payload to fetch the complete structured JSON, including headers, text and HTML bodies, attachments metadata, and verdicts, via the Get Message endpoint.
To browse every inbound message your project has received, open the Email Activity > Inbound tab in the dashboard.

Receiving domains

Every project comes with a default receiving domain. You can also enable Inbound on a custom domain if you need email to arrive at an address you control.

Default receiving domain

Each project is provisioned with a unique receiving subdomain in the form {prefix}@{uniquesubdomain}.autosend.email. You pick any prefix and immediately start receiving email at that address. No DNS setup is required.
Default receiving domain configuration in AutoSend
The default receiving domain is the fastest way to get started and is the recommended option for most projects.

Use your own domain

You can also enable Inbound on a domain you’ve already verified for sending on AutoSend, or add a brand-new domain. Follow the MX record instructions shown in the dashboard to point incoming mail to AutoSend.
Enabling Inbound for a custom domain in AutoSend
If your domain is already serving inboxes through Gmail, Outlook, or another mail provider, you cannot also use it for receiving on AutoSend. MX records can only point to one provider at a time. To work around this, set up email forwarding from your existing mail provider to your AutoSend default receiving address.

Reading and replying to messages

Once an email.received webhook fires, you can use the Inbound Emails API to read the full message, download attachments, and reply in the same thread.
https://mintcdn.com/autosend-13920f5c/BvBuJTZLIsxccP1g/icons/list-message.svg?fit=max&auto=format&n=BvBuJTZLIsxccP1g&q=85&s=e7d5a8bef9510520a5887a1e57630da8

List messages

Paginate, filter, and search messages received on your project’s inbound-enabled domains.
https://mintcdn.com/autosend-13920f5c/BvBuJTZLIsxccP1g/icons/get-a-message.svg?fit=max&auto=format&n=BvBuJTZLIsxccP1g&q=85&s=93eb767e612fe48839c035d7290de4fb

Get a message

Fetch a single message with full body, headers, attachments metadata, and threading.
https://mintcdn.com/autosend-13920f5c/BvBuJTZLIsxccP1g/icons/download-attachment.svg?fit=max&auto=format&n=BvBuJTZLIsxccP1g&q=85&s=c428758f93f5e5482d994b0e6ae42ecf

Download attachment

Download a single attachment by its zero-based index.
https://mintcdn.com/autosend-13920f5c/BvBuJTZLIsxccP1g/icons/reply-to-a-message.svg?fit=max&auto=format&n=BvBuJTZLIsxccP1g&q=85&s=934ea0b85e2fc79dafc03a9075b2da14

Reply to a message

Send a threaded reply via In-Reply-To and References headers using a verified sending domain.

Common use cases

  • AI agent inbox: Pair Inbound with the AutoSend sending API to give your AI agents a fully two-way email address. Your agents can both send outbound messages and receive replies in the same project, enabling real email conversations driven by an LLM.
  • Support portal or helpdesk: Route customer replies into your ticketing system and let agents respond from a unified inbox.
  • CRM email logging: Capture incoming emails as activities on the matching contact, lead, or deal record.
  • Applicant tracking system (ATS): Parse candidate replies to recruiting outreach and attach them to the right pipeline stage.
  • Custom email client or inbox: Build a fully featured mailbox without running your own mail server, MX records, or IMAP plumbing.

Frequently asked questions

Yes. The AutoSend Inbound Email API delivers incoming messages to your application in two steps. First, an email.received webhook notifies you when a new email arrives on one of your receiving domains. Second, a REST endpoint returns the full structured message, including headers, plain text and HTML bodies, attachments, and threading metadata.
The Inbound Email API is available on the Starter 10k plan and above. Free and trial plans do not include inbound receiving. Upgrade your project from the Billing page to enable it.
Pick or enable a receiving domain in the dashboard, create a webhook subscribed to the email.received event, and call the Get Message endpoint with the message ID from the webhook payload to fetch the full email.
No. Every project is provisioned with a default receiving domain in the form {prefix}@ {uniquesubdomain}.autosend.email and you can start receiving email immediately without any DNS setup. You can also enable Inbound on a verified custom domain when you need email to arrive at an address you control.
Yes. Use the Reply to Message endpoint to send a threaded reply. AutoSend sets the In-Reply-To and References headers automatically so the reply lands in the same conversation in the recipient’s inbox.
The Get Message response includes attachment metadata for every message. Download the binary content of a specific attachment by its zero-based index via the Download Attachment endpoint.

https://mintcdn.com/autosend-13920f5c/nx_wYfWx3qeZwg1C/icons/event-types.svg?fit=max&auto=format&n=nx_wYfWx3qeZwg1C&q=85&s=7e37cf26e7cf6375a72cf73483295f3f

email.received event

Full webhook payload reference for inbound notifications.
https://mintcdn.com/autosend-13920f5c/nx_wYfWx3qeZwg1C/icons/webhook.svg?fit=max&auto=format&n=nx_wYfWx3qeZwg1C&q=85&s=14ad6675c71731ac04f786559a813ee1

Webhooks introduction

Set up a webhook endpoint and verify requests.
https://mintcdn.com/autosend-13920f5c/nx_wYfWx3qeZwg1C/icons/at-sign.svg?fit=max&auto=format&n=nx_wYfWx3qeZwg1C&q=85&s=b0580da3edef364b2dee3ce4b1387771

Manage Inbound

Configure receiving domains and view incoming messages in the dashboard.
https://mintcdn.com/autosend-13920f5c/nx_wYfWx3qeZwg1C/icons/domain.svg?fit=max&auto=format&n=nx_wYfWx3qeZwg1C&q=85&s=9393f9f9b0f7029e6ba8acf2bc09d864

Domains

Verify a domain or add a new one to use with Inbound.