Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 68 additions & 7 deletions specs/email-sending.openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,8 @@ paths:
"open_tracking_enabled": true,
"click_tracking_enabled": true,
"tracking_opt_out_enabled": true,
"auto_unsubscribe_link_enabled": false
"auto_unsubscribe_link_enabled": false,
"inbound_enabled": true
}
}'
parameters:
Expand All @@ -601,6 +602,7 @@ paths:
click_tracking_enabled: true
tracking_opt_out_enabled: true
auto_unsubscribe_link_enabled: false
inbound_enabled: true
responses:
'200':
$ref: '#/components/responses/DomainResponse'
Expand Down Expand Up @@ -2403,6 +2405,17 @@ components:
type:
- string
- 'null'
inbound_enabled:
type: boolean
description: |
Whether inbound email is enabled for this domain. When enabled, an
`MX` record (`key: inbound_mx`) is added to `dns_records` for inbound
mail; see `inbound_verified`.
inbound_verified:
type: boolean
description: |
Whether the domain's inbound MX records have been verified. Inbound
mail is only accepted once this is `true`.
permissions:
type: object
properties:
Expand All @@ -2426,12 +2439,6 @@ components:
value: smtp.mailtrap.live
status: pass
name: ve6wza2rbpe60x7z
- key: spf
domain: mailtrap.io
type: TXT
value: 'v=spf1 include:_spf.smtp.mailtrap.live ~all'
status: pass
name: ''
- key: dkim1
domain: rwmt1._domainkey.mailtrap.io
type: CNAME
Expand All @@ -2456,6 +2463,12 @@ components:
value: t.mailtrap.live
status: pass
name: mt-link
- key: inbound_mx
domain: mailtrap.io
type: MX
value: inbound-mailtrap.io
status: pass
name: '@'
open_tracking_enabled: true
click_tracking_enabled: true
tracking_opt_out_enabled: false
Expand All @@ -2464,6 +2477,8 @@ components:
health_alerts_enabled: true
critical_alerts_enabled: true
alert_recipient_email: john.doe@mailtrap.io
inbound_enabled: true
inbound_verified: true
permissions:
can_read: true
can_update: true
Expand All @@ -2486,6 +2501,12 @@ components:
auto_unsubscribe_link_enabled:
type: boolean
description: Automatically add an unsubscribe link to emails sent from this domain
inbound_enabled:
type: boolean
description: |
Enable inbound email for this domain so it can be attached to an
inbound inbox as a catch-all. The domain's inbound MX records must
be verified before inbound mail is accepted (see `inbound_verified`).

CompanyInfo:
type: object
Expand Down Expand Up @@ -2934,6 +2955,26 @@ components:
subject:
type: string
nullable: true
rfc_message_id:
type: string
nullable: true
description: Value of the RFC 5322 `Message-ID` header.
in_reply_to:
type: string
nullable: true
description: Value of the RFC 5322 `In-Reply-To` header.
Comment thread
mklocek marked this conversation as resolved.
references:
type: array
items:
type: string
description: Values of the RFC 5322 `References` header.
thread_id:
type: string
nullable: true
description: |
ID of the inbound thread this message belongs to, or null if
the message is not part of one. Use it with the Inbound
Threads endpoints to fetch the full conversation.
from:
type: string
to:
Expand Down Expand Up @@ -3018,6 +3059,26 @@ components:
subject:
type: string
nullable: true
rfc_message_id:
type: string
nullable: true
description: Value of the RFC 5322 `Message-ID` header.
in_reply_to:
type: string
nullable: true
description: Value of the RFC 5322 `In-Reply-To` header.
references:
type: array
items:
type: string
description: Values of the RFC 5322 `References` header.
thread_id:
type: string
nullable: true
description: |
ID of the inbound thread this message belongs to, or null if the
message is not part of one. Use it with the Inbound Threads
endpoints to fetch the full conversation.
from:
type: string
to:
Expand Down
Loading
Loading