List email domains
list_email_domainsList the addresses this workspace can send email from. Call this BEFORE send_email when you do not already know the from_ address — do not guess a domain.
Instructions
List the addresses this workspace can send email from. Call this
BEFORE send_email when you do not already know the from_
address — do not guess a domain.
Returns ``{"items": [...], "next_cursor": ..., "default_from": ...}``.
Each item carries ``domain``, ``kind`` (``"custom"`` or
``"hail_mail"``) and ``verification_status``; only ``"verified"``
rows can send. A ``custom`` item's ``domain`` is a bare DNS name
that accepts any local-part (``sales@acme.com``); a ``hail_mail``
item's ``domain`` is already a full address.
``default_from`` is the address a ``send_email`` with no ``from_``
goes out as. It is null when the workspace has several verified
identities — then ``send_email`` rejects a missing ``from_`` and you
must pass one from ``items``.
Example:
list_email_domains()
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||