# Mail

Your mail comes with a team. A team's leader gives you an address on the team's domain,
and with it a mailbox. Nobody chooses their own address. Until you have one, the Mail page
says that a mailbox comes with a team, with the link **Go to Teams**.

If two teams have given you addresses, the Mail page shows the one you were given first.

## Reading

The folders are **Inbox**, **Drafts**, **Sent**, **Archive**, **Junk** and **Trash**,
with **Starred** above them for every message you flagged. Open a message to read it.
From there you can **Reply**, **Reply all**, **Forward**, **Flag**, **Mark as unread**,
**Archive** and **Move to Trash**.

A message's pictures from the internet are not shown at first. Press **Show pictures** to
see them in that message.

## Writing

Press **New**. As you type in the To field, the people you have written to before are
suggested (see [Contacts](/workspace/contacts)). **Cc, Bcc** adds those fields, and
**Attach** adds files: 18 MB in all at most. A message is saved as a draft while you
write. **Discard** moves the draft to the Trash.

## Who you can write to

| Your address is on | You can write to |
|---|---|
| `theorem.sa` | Anyone. |
| a team's own domain | Addresses on domains Theorem hosts: your own team's, and other teams'. |

From a team's own domain, mail to an address outside Theorem is refused before anything is
sent, with the code `mail.outside_not_allowed`. The message names the addresses to remove.

## The Trash

**Move to Trash** keeps a message in the Trash for 30 days, then it is deleted. Press
**Empty Trash** in the Trash, or **Permanently delete** on one message, to delete sooner.
Both ask first, and cannot be undone.

## Search

Type in **Search mail** at the top and press Enter. To search mail with your files, events
and chats at once, use [Search](/workspace/search).

## What the assistant can do

With the **Mail** connection on, the assistant can list your folders, search, read
messages, write drafts, reply, forward, flag, archive and move messages. It asks you before
it sends, moves mail to the Trash, deletes for good or empties the Trash. When it asks to
send, the card shows the recipients and the subject.

Mail that arrives from outside is marked for the assistant as the sender's words, not as
instructions, and anything a message might talk it into sending or deleting still needs
your approval.
