> For the complete documentation index, see [llms.txt](https://docs.lleverage.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lleverage.ai/academy/personal-productivity/stay-on-top-of-your-email.md).

# Stay on top of your email

Connect your mailbox, choose what the Agent may do, find the emails that need you and let the Agent write your drafts.

Your inbox mixes what needs you with everything that doesn't. In this guide you connect your mailbox, so the Agent can tell you what needs you and write your replies as drafts. You decide what it may do, and nothing goes out without you.

<table><thead><tr><th width="220"></th><th></th></tr></thead><tbody><tr><td><i class="fa-flag-checkered">:flag-checkered:</i> <strong>You end up with</strong></td><td>Your mailbox connected, a list of what needs you, and a first draft reply waiting in your Drafts folder</td></tr><tr><td><i class="fa-clock">:clock:</i> <strong>Time</strong></td><td>About 20 minutes</td></tr><tr><td><i class="fa-list-check">:list-check:</i> <strong>You need</strong></td><td>Your <a href="https://docs.lleverage.ai/academy/personal-productivity/the-basics.md">personal workspace</a>, and your Outlook or Gmail account</td></tr></tbody></table>

{% hint style="warning" %}
**Outlook may need your IT's approval first.** Many organisations only let new apps such as Lleverage connect to Outlook once an administrator has approved them. If that's the case for you, step 3 shows you how to ask. Can't get approval today? No problem: this guide stays here for when you're ready.
{% endhint %}

## Steps

{% stepper %}
{% step %}

### Start a new session

Open your personal workspace and click **New Agent Session** at the bottom of the sidebar.
{% endstep %}

{% step %}

### Connect your mailbox and choose what the Agent may do

Tell the Agent which mailbox, and what you want it to be able to do. It sets up the access for you.

{% tabs %}
{% tab title="Outlook" %}
{% code overflow="wrap" %}

```
Connect my Outlook. You may read my email and write drafts, but never send anything.
```

{% endcode %}
{% endtab %}

{% tab title="Gmail" %}
{% code overflow="wrap" %}

```
Connect my Gmail. You may read my email and write drafts, but never send anything.
```

{% endcode %}
{% endtab %}
{% endtabs %}

The Agent walks you through the choices one at a time. These are the levels of access you can pick from:

| Level                                                      | What the Agent can do                                                    |
| ---------------------------------------------------------- | ------------------------------------------------------------------------ |
| <i class="fa-eye">:eye:</i> **Read only**                  | Search and read your email. It can't change anything.                    |
| <i class="fa-pen">:pen:</i> **Read & write (recommended)** | Also write drafts, file email and send. It asks you before every change. |
| <i class="fa-unlock">:unlock:</i> **Full access**          | Everything, without asking. Not needed for this guide.                   |

You can also tick or untick single actions. For this guide, keep **Create Draft Reply** on and switch **Send Email** off. Then the Agent can prepare replies, and you send them yourself from Outlook or Gmail.

<figure><img src="https://1882163319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCAjuBhds6oWJhzkS4yp2%2Fuploads%2Fgit-blob-bb1001f90bd848a0bdede2d3506e8b6a104104f5%2Femail-access.png?alt=media" alt="The Actions tab of the Outlook connection: reading and Create Draft Reply are allowed, Send Email is not" width="580"><figcaption><p>1. Untick <strong>Send Email</strong> to keep sending in your own hands</p></figcaption></figure>

When it asks **Who can use this connection?**, pick **Only me**. Your mailbox stays yours.

{% hint style="info" %}
Only want the Agent to read? Say *"You may only read my email"*, and skip step 6 of this guide.
{% endhint %}
{% endstep %}

{% step %}

### Sign in

Last step of the setup: you sign in with Microsoft or Google on their own page and click **Accept**. Lleverage never sees your password.

<figure><img src="https://1882163319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCAjuBhds6oWJhzkS4yp2%2Fuploads%2Fgit-blob-ce96dd39ca8763c94a6a4564ff9dcced3da1305f%2Femail-sign-in.png?alt=media" alt="The panel explains the three things to do on Microsoft&#x27;s sign-in page: sign in, check the account, click Accept" width="560"><figcaption><p>The panel tells you what to do on the sign-in page</p></figcaption></figure>

**Does it say your administrator needs to approve Lleverage?** Click **Get the approval link** and send it to your IT administrator. Once they've approved, come back to this session and ask the Agent to connect again.

<figure><img src="https://1882163319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCAjuBhds6oWJhzkS4yp2%2Fuploads%2Fgit-blob-a9f0d84aa017e7be83eaae05e0d955d06bbb8323%2Facademy-admin-approval.png?alt=media" alt="A card saying Your Microsoft administrator needs to approve Lleverage, with a Get the approval link button" width="580"><figcaption><p>Send the approval link to your IT administrator</p></figcaption></figure>
{% endstep %}

{% step %}

### Ask what needs you

Your mailbox is connected. Try it:

{% code overflow="wrap" %}

```
What are the important emails from the last few days that I need to act on?
```

{% endcode %}

<figure><img src="https://1882163319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCAjuBhds6oWJhzkS4yp2%2Fuploads%2Fgit-blob-00284d07770519d5f89b450f66cf5d683b4d1cfa%2Femail-important.png?alt=media" alt="The Agent lists three emails that need action, with who sent them and what they need"><figcaption><p>The Agent lists what needs you and leaves out the noise</p></figcaption></figure>

Not what you expected? Tell it, for example *"Newsletters from our suppliers are important to me too"* or *"Only look at email sent to me directly"*.
{% endstep %}

{% step %}

### Try a few more questions

The Agent can search and read across your whole mailbox. Some ideas:

{% tabs %}
{% tab title="Summarise a thread" %}
{% code overflow="wrap" %}

```
Summarise the email thread about the Northwind contract. What was agreed, and what is still open?
```

{% endcode %}
{% endtab %}

{% tab title="Find something" %}
{% code overflow="wrap" %}

```
Find the last email where someone sent me a price list, and tell me what's in the attachment.
```

{% endcode %}
{% endtab %}

{% tab title="What's waiting on others" %}
{% code overflow="wrap" %}

```
Which emails did I send last week that haven't had a reply yet?
```

{% endcode %}
{% endtab %}
{% endtabs %}
{% endstep %}

{% step %}

### Challenge: let the Agent write a draft

Pick one of the emails that needs you, and say what you want to answer:

{% code overflow="wrap" %}

```
Draft a reply to Lisa. Say I approve the budget, but ask her to move €5k from travel to training.
```

{% endcode %}

Because writing a draft changes something in your mailbox, the Agent asks first. Check the text and click **Approve**.

<figure><img src="https://1882163319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCAjuBhds6oWJhzkS4yp2%2Fuploads%2Fgit-blob-7e65c8fde356389213d02e5f6d2778dd1f1b1e02%2Femail-draft-approval.png?alt=media" alt="The Agent asks: Allow a change in microsoft-outlook? It shows the draft&#x27;s recipient, subject and text, with Approve and Deny buttons" width="620"><figcaption><p>1. Check the draft and click <strong>Approve</strong></p></figcaption></figure>

Now open Outlook or Gmail. The reply is in your **Drafts** folder, in the right thread. Change what you like and send it yourself.
{% endstep %}
{% endstepper %}

## Make it sound like you

Do the drafts not sound like you yet? Correct one, then turn your corrections into a Skill, just like the brand Skill in [Create on-brand documents](https://docs.lleverage.ai/academy/personal-productivity/on-brand-documents.md):

{% code overflow="wrap" %}

```
Look at the last 20 emails I sent and describe how I write: greeting, length, tone and how I sign off. Then turn that into a skill called "My writing style" and use it for every draft you write for me.
```

{% endcode %}

Every time you change a draft before you send it, tell the Agent what you changed and ask it to update the Skill.

## Good to know

* **You stay in control.** With **Read & write**, the Agent asks before every change. Click **Deny** and nothing happens.
* **Change your mind later?** Ask the Agent, for example *"Let the Outlook connection only read from now on"*, or open it from <i class="fa-plus">:plus:</i> → **Connections** → **Manage connections**.
* **Only you.** A connection set to **Only me** works in the sessions you start. Colleagues can't use your mailbox.

## Next

[Your daily digest](https://docs.lleverage.ai/academy/personal-productivity/your-daily-digest.md): add your calendar, and start every day with one overview of your meetings and email.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.lleverage.ai/academy/personal-productivity/stay-on-top-of-your-email.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
