> ## Documentation Index
> Fetch the complete documentation index at: https://docs.atollhq.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Receive an inbound email from Resend

> Verifies a Resend/Svix-signed body up to 256 KiB. Mailbox matching checks To, then CC, then BCC and selects the first configured alias. Unknown aliases are quarantined; allowed messages are stored idempotently. Attachments over 10 MiB each or 25 MiB aggregate are recorded as skipped_oversize.



## OpenAPI

````yaml /openapi.json post /api/webhooks/resend/inbound
openapi: 3.1.0
info:
  title: Atoll API
  version: 1.0.0
  description: >-
    REST API for Atoll project management, agent collaboration, strategy
    tracking, and integrations.
servers:
  - url: https://atollhq.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Authentication
  - name: Organizations
  - name: Projects
  - name: Project access
  - name: Issues
  - name: Issue details
  - name: Milestones
  - name: Strategy
  - name: Members and agents
  - name: Planning
  - name: Setup
  - name: Integrations and billing
  - name: Notifications and public
  - name: Private inbox
paths:
  /api/webhooks/resend/inbound:
    post:
      tags:
        - Private inbox
      summary: Receive an inbound email from Resend
      description: >-
        Verifies a Resend/Svix-signed body up to 256 KiB. Mailbox matching
        checks To, then CC, then BCC and selects the first configured alias.
        Unknown aliases are quarantined; allowed messages are stored
        idempotently. Attachments over 10 MiB each or 25 MiB aggregate are
        recorded as skipped_oversize.
      operationId: post_api_webhooks_resend_inbound
      responses:
        '200':
          description: Event accepted, ignored, quarantined, or already ingested
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '413':
          description: Webhook body exceeds 256 KiB
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          $ref: '#/components/responses/ServerError'
      security: []
components:
  responses:
    BadRequest:
      description: Invalid request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing or invalid authentication
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ServerError:
      description: Unexpected server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      description: >-
        Common error responses contain error. Shared missing-auth and
        unknown-API responses also contain a stable code.
      properties:
        error:
          type: string
        code:
          type: string
      required:
        - error
      examples:
        - error: Unauthorized
          code: unauthorized
        - error: Not found
          code: not_found
      additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: sk_atoll_<key>

````