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

# Send email from your domain

> Connect your mail server so agency and client email comes from your address.

Custom SMTP sends Lunacal email through your mail server. Clients who have not set up their own SMTP use yours. The From name and address are yours, and the message can carry your agency branding.

The checklist calls this **Custom email sending**. The description is "Send all app emails from your own mail server."

Add it during [setup](https://help.lunacal.ai/agency/set-up.md), in the email section, or later at [Settings → Custom SMTP](https://app.lunacal.ai/agency/settings?tabName=custom-smtp).

## Add the mail server

The fields are the same in setup and in Settings. Every one is required.

| Field | Placeholder | Notes |
| - | - | - |
| **SMTP Host** | `smtp.yourdomain.com` | The server hostname |
| **Port** | `587` | Starts at 587 |
| **Username** | `user@yourdomain.com` | The mailbox login |
| **Password** | Masked | The mailbox password |
| **From Email** | `noreply@youragency.com` | The address recipients see. It must contain `@`. |
| **From Name** | `My Agency` on Settings, `Your Agency` during setup | The name next to that address |

**1. During setup**

Open **Agency SMTP** and click **Save SMTP**. If a field is empty, or **From Email** has no `@`, Lunacal says "Fill in every SMTP field, or skip this step." A successful save says "Custom SMTP saved." The button then reads **Update SMTP**.

**2. From Settings**

Open **Custom SMTP**. The description is "Send emails from your own mail server. Your clients who haven't configured their own SMTP will use this instead of the default."

**Save** stays disabled until you change a field. After a successful save it says "Settings updated successfully", a green line says **SMTP is configured and verified**, and the button label changes to **Update**.

## Remove it

**Delete** is on **Settings → Custom SMTP**, and only after SMTP is configured. The dialog title is **Remove SMTP configuration?** The warning says that removing it means your agency clients' emails will go through the default mail server. Confirm with **Yes, disconnect**. Lunacal then says "Custom SMTP removed".

Clients who already have their own SMTP keep using that. Removing yours does not delete their settings.

## What mail this affects

Booking messages, workflow email, and the message you send when you [hand a client their login](https://help.lunacal.ai/agency/clients.md) use this server when the client does not have one of their own. The login link in that message uses your agency domain when the domain is active, and Lunacal's app address when it is not.


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