# Connections

A connection is something the assistant can reach and use: your mail, your drive, the
web. The assistant uses only the connections that are on in the chat. Switch one off when
you don't want the assistant to touch it.

## Switching a connection

Press **+** in the message box and choose **Connections**. Each connection has a switch.
A change is saved at once and holds from your next message. A connection that can't be
reached right now is shown dimmed, with no switch.

A new chat starts with the connections you chose last. Before you ever choose, all are on.

## What each connection reaches

| Connection | What the assistant can do |
|---|---|
| **Mail** | Find and read your mail, write drafts, reply and forward, file messages. It asks before it sends, moves mail to the Trash or deletes it for good. |
| **Drive** | List, search and read your files, write text files, make folders, rename, move and trash. It asks before it deletes for good or empties the Trash. |
| **Calendar** | Read your calendars and events and find free time. It asks before it makes, changes or deletes an event, and before it answers an invitation. |
| **Contacts** | Find and read your contacts, save and change them. It asks before it deletes one. |
| **Theorem docs** | List, search and read these docs, so it answers how Theorem works from them. |
| **Web** | Search the web and read pages. |
| **Sandbox** | A computer of its own for the chat, with no internet, to run commands and work on files. |

Mail, Calendar and Contacts work only once a team gives you an address. See
[Mail](/workspace/mail).

## How the web and the sandbox are kept safe

- The assistant opens only a page whose address you wrote, or that a search or a page it
  read gave it. It cannot make up an address and open it, so a page cannot talk it into
  sending your data out inside a link. What it searches for does go to the search.
- What a page or an email says is given to the assistant marked as someone else's words,
  not as instructions. That lowers the risk of a page or a message steering it; the
  approval cards are what stop anything from being sent or deleted without you.
- The sandbox has no internet. What is in it stays for that chat, and is deleted with the
  chat, or 30 days after it was last used. With **Drive** on too, the assistant can copy a file from your drive into the
  sandbox, and save a file it made back to your drive, up to 100 MB.

## Your team's apps

A team can connect apps of its own, such as an attendance or an orders system. When a
leader adds one for you, it appears in your list of connections by itself, under the
app's name, and is on unless you switch it off. When you no longer get it, it is gone
from your next message.

Theorem tells an app your name, the email you sign in with, its team, whether you lead
it, and the roles you hold in it, and nothing else of yours. The assistant asks you first
before an app's action that may change something, unless the app marks it as safe. See
[Your team's connections](/teams/connections).

If an app is away or fails, the chat goes on without it and says so in one quiet line.
