# Connect a Microsoft 365 mailbox to the Lueira inbox

> How to connect your business email (Microsoft 365) in Communications > Settings > Email so you can read and reply to your customers' emails alongside WhatsApp: steps, general or per-location mailbox, Microsoft 365 administrator approval and reconnecting.

## What you need before connecting

## What you need before connecting

With a mailbox connected, your customers' emails arrive in the **Communications** inbox, next to WhatsApp, and you can reply to them from Lueira without opening your email program. This guide explains how to connect a **Microsoft 365** (Outlook) mailbox.

Before you start, check that you have:

- The **Advanced communications** add-on in your plan. If you don't have it, in **Communications > Settings > Email** you will see “Email inbox is included in Advanced communications” and the **View my plan** button.
- A user with permission to manage the mailbox. If your company has several locations, there is a **General mailbox** and one mailbox per location; the general one can only be connected by an administrator with no location restriction.
- The Microsoft 365 mailbox account and password. You type the password **only in the Microsoft window**, never in Lueira.

💡 Lueira will ask for permission to **read and send mail on behalf of the mailbox**. Only emails received **after you connect**, from the inbox folder, are synced: earlier history and other folders are not imported.

⚠️ Never send your Microsoft password by chat, email or WhatsApp, either to support or to a colleague.

## Connect the mailbox step by step

## Connect the mailbox step by step

1. Go to **Communications > Settings** and open the **Email** section.
2. Find the row of the mailbox you want to connect (**General mailbox** or a location) and click **Connect**. In the menu, choose **With Microsoft 365**.
3. A Microsoft window opens. Sign in with the mailbox account and accept the permissions.
4. When you return to Lueira you will see **Finish connecting your mailbox**: “Microsoft has authorized access. Confirm to connect the mailbox to this Lueira account.” Click **Confirm connection**. If you did not start this connection, cancel it.
5. You will see the **Mailbox connected** notice and the row with the **Connected** label. New emails appear in the **Email** tab of the inbox.

![Email section of Settings with the unconnected location rows and the Connect button menu showing the options With Microsoft 365 and With Google (Gmail)](https://media.support.lueira.com/images/0f89677d-46b1-4b88-b119-d05642310016.png)

💡 If your browser blocks the Microsoft pop-up window, Lueira makes the connection in the same tab and returns to this screen when it finishes.

💡 The connection needs a confirmation step on purpose: this way nobody can connect a mailbox to your Lueira account without a signed-in person approving it.

## If your administrator must approve Lueira, and how to reconnect

## If your Microsoft 365 administrator must approve Lueira

Some organizations don't let each user authorize apps. In that case Lueira shows: “Your organization's Microsoft 365 administrator must approve Lueira before the mailbox can be connected.”

1. Copy the link shown under the message (“Send this link to your administrator so they can approve Lueira:”) and send it to the person who manages Microsoft 365 in your company (usually the IT manager).
2. Ask them to open it with an administrator account and **approve the Lueira app** for the organization. Lueira only asks to read and send mail from the mailbox you connect.
3. Once they do, when you return to Lueira you will see **Your administrator has approved Lueira**. Click **Connect** again and sign in.

If the administrator declines the approval you will see “The Microsoft 365 administrator declined to approve Lueira” and no mailbox will be connected.

## Reconnect a mailbox

If the mailbox row shows **Needs reconnecting**, Microsoft has signed the mailbox out: in the meantime no new emails arrive and replies cannot be sent. The inbox also shows the notice **The mailbox needs to be reconnected** with the **Reconnect mailbox** button.

1. Click **Reconnect**.
2. Sign in to Microsoft **with the same mailbox** that was connected. If you use another one you will see “To reconnect you must sign in with the same mailbox that was connected.”
3. Confirm the connection as you did the first time.

Is something else failing? See [Troubleshooting email in Communications](lueira-guide:8fe27822-62a9-4ac5-a9d6-a50a61a27c86?locale=en).

Source: https://help.lueira.com/en/articles/conectar-un-buzon-de-microsoft-365
