# Email settings: what data Lueira stores, mailboxes by location and how to disconnect

> Which emails Lueira stores and for how long, how the general mailbox and per-location mailboxes work, how to disconnect a mailbox and how to request the deletion of a customer's data.

## What Lueira stores and for how long

## What Lueira stores and for how long

- The emails in the **inbox folder** received **after you connect**, with their attachments, and the replies you send from Lueira. Earlier history and other folders are not imported.
- Your **drafts** and your **signature** are saved only in your browser, not in Lueira.
- The emails stay in your Microsoft 365 or your Gmail: Lueira works with a copy in the Communications inbox.

## How long they are kept

Lueira keeps the inbox emails for a limited time: **180 days** by default. The period is set by Lueira for your account (between 30 and 730 days) and can't be changed from the dashboard. If you need a different period, contact support.

💡 Lueira only reads and sends mail on behalf of the mailbox you connect. You can withdraw that permission whenever you want by disconnecting the mailbox (see below).

## General mailbox and per-location mailboxes

## General mailbox and per-location mailboxes

In **Communications > Settings > Email** there is a row for the **General mailbox** and, if your company has several locations, one row for each location. Each row shows **No mailbox connected** until you connect one.

- **One mailbox per location.** If a location already has a mailbox you will see “This location already has a mailbox connected.” Disconnect it before connecting another one.
- **Who can manage them.** An administrator with no location restriction can connect and disconnect all of them. A user limited to some locations only manages the mailboxes of their locations; on the general mailbox they will see “Your user can only manage the mailboxes of its own locations. The general mailbox is connected or disconnected by an administrator without a location restriction.”
- **Their own settings.** Each mailbox has its own **AI replies** mode.
- **What you see in the inbox.** You will see the emails of the general mailbox and those of the locations you have access to. The **Active center / All centers** selector changes what is shown.

## Disconnect a mailbox and delete a customer's data

## Disconnect a mailbox

1. Go to **Communications > Settings > Email**.
2. In the mailbox row, click the three-dot button and choose **Disconnect mailbox**.
3. Read the notice and click **Confirm disconnect**.

![General mailbox row with the three-dot menu open and the Disconnect mailbox option](https://media.support.lueira.com/images/1539b89f-111d-4d74-8f3e-4220a758762e.png)

The notice says: “The mailbox will stop syncing and its emails and attachments will be deleted from Lueira. Emails in Microsoft 365 are not touched.” For a Gmail mailbox, Lueira's access to the Google account is also revoked and the emails in Gmail are not touched either.

⚠️ Disconnecting deletes that mailbox's emails and attachments from Lueira. If you connect it again, only the emails that arrive from that moment on will be synced.

## Delete a customer's data

To handle a customer's data deletion request, contact support and say which customer it is. The deletion includes all their communications (WhatsApp, email and web) and is done for the whole company: it can't be done from the dashboard or per location.

Source: https://help.lueira.com/en/articles/ajustes-del-email-datos-que-guarda-lueira-y-desconexion
