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

# Mailbox setup

> Connect your collections inbox, configure sending and receiving, and verify replies before going live

Use this guide with your email and DNS administrator to prepare the address
customers will receive collections emails from and reply to.

> [!WARNING]
>
> A connected mailbox or verified sending domain does not prove that customer
> replies can reach you. Complete the external delivery and reply checks below
> before enabling collections.

## Before you start

Have these ready:

* Access to the Google Workspace or Microsoft 365 inbox you will connect.
* An administrator who can configure that inbox, aliases, and mail routing.
* Access to DNS for the exact email domain, including any subdomain.
* An external test inbox you control, preferably at another email provider.

Choose your sender address, such as `ar@billing.example.com`. Record the inbox
that will receive replies. If the sender is an alias, confirm that mail to the
alias arrives in the inbox you connect to Monk.

## 1. Set up incoming email

Create the receiving mailbox or alias with your email provider. Adding DNS
records alone does not create an inbox.

For `ar@billing.example.com`, incoming mail is routed using
**`billing.example.com`**, not `example.com`. MX records on the parent domain
are not inherited by the subdomain.

| Address | Domain your administrator must check |
| - | - |
| `ar@example.com` | `example.com` |
| `ar@billing.example.com` | `billing.example.com` |

Ask your administrator to publish the incoming-mail records supplied by your
provider for that exact domain:

* **Google Workspace:** add and activate the domain or subdomain in Workspace,
  then follow [Google's MX setup instructions](https://knowledge.workspace.google.com/admin/domains/set-up-mx-records-for-google-workspace).
* **Microsoft 365:** add and verify the domain, provision the receiving address,
  and use the MX destination shown for your domain in the admin center. Follow
  [Microsoft's DNS setup instructions](https://learn.microsoft.com/en-us/microsoft-365/admin/get-help-with-domains/create-dns-records-at-any-dns-hosting-provider?view=o365-worldwide).

Your DNS host may expect `billing` as the record name within an `example.com`
zone, or the full `billing.example.com` name. Check the saved name to avoid
creating `billing.example.com.example.com` by mistake.

If incoming mail first goes through a security gateway, Amazon SES, or another
mail service, confirm that it routes mail to the connected inbox. Adding Google
or Microsoft as a lower-priority fallback does not make the first service forward
mail. Have your administrator review the existing route before changing MX;
those changes affect every address on that exact domain.

## 2. Connect the inbox to Monk

1. Open **Integrations → Mailboxes** in the intended Monk organization.
2. Choose **Add mailbox** and your email provider, then authorize the inbox.
3. Confirm the connected address and primary mailbox.
4. In **Sender → Edit**, review the name and address customers will see.
   Select an available provider alias only if it is configured to receive
   replies in the connected inbox.
5. Open the mailbox actions menu and choose **Test connection**.

The connection check verifies provider access, required read/send permissions,
mailbox readability, and an active inbound webhook registration. It does not
send an email or prove that a new message reaches Monk.

## 3. Verify outbound authentication

Open the **Delivery** tab and review **Send through** and **DNS records**.

* For **Mailbox** delivery, configure the sending provider's SPF and DKIM records
  and review your domain's DMARC policy with your administrator.
* For **Postmark** delivery, follow the DKIM and custom Return-Path values shown
  in Monk. Use **Check again** after publishing the records. Postmark currently
  requires the sender to be the primary mailbox address in Monk.

Copy DNS values exactly, and check which domain each displayed host name is
relative to. For example, `pm-bounces` for sender domain `billing.example.com`
means `pm-bounces.billing.example.com`; a DNS zone for `example.com` may require
the host name `pm-bounces.billing`. Confirm the final fully qualified name
before saving. Merge legitimate sending services into the existing SPF
configuration with your administrator; do not publish a second SPF record or
replace a working policy blindly.

Postmark's [domain verification guide](https://postmarkapp.com/support/article/how-do-i-verify-a-domain)
explains DKIM and Return-Path. Return-Path handles bounces and SPF authentication;
it is separate from the inbox where customers send replies.

> [!NOTE]
>
> Sending authentication and incoming-mail routing solve different problems.
> SPF, DKIM, DMARC, and a verified Postmark domain do not create a receiving inbox
> or configure its MX records.

## 4. Test delivery and replies before go-live

In **Integrations → Mailboxes → Overview**, choose **Run a test**.
Follow the four-step checklist: choose an inbox, send, reply, and review.
Green checks are confirmed, orange checks need attention or evidence, and red
checks identify a confirmed problem.

1. Enter an **external test inbox you control**, preferably outside your company
   and at another provider. Use synthetic content, never a customer contact or
   real invoice. Internal company email can bypass public DNS routing.
2. Choose **Check setup**. Review the environment, From address, delivery
   method, actual recipient, and actual Reply-To. Resolve connection or receiving
   DNS issues before sending. These checks alone do not prove delivery.
3. Choose **Send test email**. Monk sends one synthetic message through the
   configured delivery method, with a sample inline image, a small text attachment,
   and reply instructions. This diagnostic does not enable collections or change
   your sender or delivery settings. A Postmark failure is reported without
   switching your organization to mailbox delivery.
4. Open the email in your test inbox. Check its placement, visible sender,
   image and attachment. Use **I received the test email** to record your own
   confirmation. Provider acceptance alone does not prove external arrival.
5. Inspect the original message or full headers in the external inbox. Confirm
   From and Reply-To. Ask your administrator to review the receiving provider's
   Authentication-Results for SPF, DKIM and DMARC, including From-domain
   alignment. The tool reports header capture; it does not automatically verify
   authentication results at your external inbox.
6. Reply **without changing the subject**. Write a short message, insert an inline
   image and attach a file under 1 MB. For an exact sample-file check, download
   `monk-mailbox-test.txt` and attach it to the reply; email clients usually omit
   the original attachments when replying. Keep the signed marker in the subject
   and reply from the same test address so Monk can recognize the exchange.
7. Keep the dialog open. It checks every 10 seconds for up to 15 minutes and shows
   **Reply in mailbox** and **Reply stored in Monk** separately. **Check for reply** refreshes
   the result. Polling reads the mailbox and Monk's existing records; it does
   not import the reply or simulate a webhook.
8. Review threading against the original Message-ID when its sent copy is
   available. Review which selected headers and attachment metadata Monk
   captured, including content IDs and inline image references in the captured
   HTML under **Technical details**. Choose **Check file download** beside each
   file to verify retrieval up to 1 MB. Each file keeps its own result. An exact
   sample-text match is labeled separately; other successful downloads are labeled
   **File downloaded**. Compare their hashes under **Technical details**.

Signed test messages with matching participants are excluded from Julia's
collections processing. Do not remove the marker or repurpose the test thread
for customer correspondence. The dialog displays evidence for the tested
configuration; it does not certify inbox placement for every customer or the
correctness of Julia's generated responses.

If your test address is a sending alias, verify direct delivery to that exact
address as well. The dialog tests the current primary sender configuration. Arrange separate
checks with Support for additional mailboxes or aliases before enabling their
traffic. If the original sent copy is unavailable, threading stays
unverified. If you reply from another address or change the marker, the exchange
may not be recognized as a test.

The send action is protected against ordinary duplicate clicks. An uncertain
outcome is not automatically resent. Check the external inbox before choosing
**Start a new test**, because another test can send another message. If a check
expires or files are missing, resolve the issue and repeat the affected step
before enabling collections. Contact [Support](mailto:support@monk.com) if the
reply reaches your provider inbox but remains absent from Monk.

> [!WARNING]
>
> Sandbox email can redirect recipients and Reply-To to a configured test inbox.
> Check the actual received headers with Support. A redirected sandbox exchange
> does not validate your intended production reply address. Arrange a controlled
> production check with Support before go-live.

Treat missing messages or a timed-out check as **unverified**. Resolve the issue
and repeat the affected step before enabling collections. After changing DNS,
allow for its TTL and your provider's activation time, then check again.

## Troubleshooting

| Symptom | What to check |
| - | - |
| Sending works, but replies bounce | Exact reply-domain MX, provider domain activation, and whether the address exists. SPF alone does not enable receiving. |
| MX exists, but the connected inbox receives nothing | MX priority, security-gateway or SES routing, aliases, quarantine, and mailbox rules. |
| Reply arrives in Gmail or Outlook, but not Monk | Confirm the correct inbox is connected; run **Test connection** and contact Support with the test details. |
| DNS checks pass, but outgoing mail lands in spam | Inspect the delivered message's authentication results and ask Support to review deliverability. |
| Only sandbox passes | Check for recipient and Reply-To redirection; verify the intended production route separately. |

For help, contact [support@monk.com](mailto:support@monk.com) with the Monk
organization, environment, sender and recipient, test time with timezone,
subject, and Message-ID or bounce code. Share headers privately with Support;
do not publish mailbox credentials or unrelated message content.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.