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

# Mail

> Your Gmail: read, answer and archive, drafts of replies, mail for later, and each morning the mail that waits for your answer.

Mail is your Gmail in Archetype. It is on by default and appears in the sidebar as **Mail**. For turning plugins on and off, see [Plugins](https://docs.archetype.ing/en/extend/plugins.md).

## Connect it

Connect Gmail in **Manage → Connections → Apps**. Each Gmail account you connect is a mailbox Mail reads. Mail holds no key; it reaches Gmail only through that connection.

## The page

* Read, answer and **Archive** threads.
* **To answer**: the mail from people that waits for your reply. Bulk mail and Gmail's Other mail are left out.
* **Draft a reply**: the folder's model writes a reply in your language, in the way you write, from your sent mail of the last 90 days. The draft lands in the reply box; nothing goes until you press send.
* **Snooze** brings a thread back later. **Remind me** tells you when no answer came by a day. **Send later** sends a mail once, at the time you set.

In the page's chat, the open thread is attached as a chip, with a **Reply coaching** chip to ask for help with the answer.

## What the agent can do

| Tool | What it does | Asks you |
| - | - | - |
| `list_mail` | Lists mail; with `toAnswer`, the same list as **To answer** | No |
| `read_mail_thread` | Reads a thread | No |
| `reply_mail` | Replies in a thread | Every time |
| `send_mail` | Sends a new mail | Every time |

Sending asks you every time, even in `yolo`; with no one there to answer, it is refused. See [Approvals](https://docs.archetype.ing/en/use/approvals.md).

## Notices

| Notice | When |
| - | - |
| **No answer yet** | A mail you set **Remind me** on got no answer by its day |
| **Mail for later** | Mail set to go later failed, or may have gone |
| **Mail to answer, each morning** | Once a day: how many mails wait for your answer, with the first three senders and subjects. Nothing on a day with none |

Each opens Mail. The morning notice opens it at **To answer**.

## Event

**`mail.received`**: new mail from someone else in your inbox, checked every 5 minutes. Bulk and Other mail and your own are never told. It carries the sender, subject, mailbox and whether it wants a reply, never the body. A [trigger](https://docs.archetype.ing/en/use/automations.md) can wake on it.

## Settings

In **Manage → Plugins → Mail**:

| Setting | Default | What it does |
| - | - | - |
| **Morning digest** | `08:00` | When the morning notice comes, from `05:00` to `12:00` in half hours; `off` never sends it |
| **Time zone** | this computer's | The digest's time zone, as an IANA name such as `Asia/Seoul` |

## Profile it offers

**Mail helper** (asks first): when mail that wants a reply comes in, it reads the thread and drafts a reply in your voice, and leaves it for you to send. It never sends mail itself. It wakes on `mail.received` with `wantsReply`. Start one from **Manage → Profiles → New profile**.

## Works with

People's timeline, and People's suggestions of people to add, find your mail through Mail. Memory's Capture reads new mail from the same Gmail accounts.


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