# Outlook

> Let an agent reply in your Outlook or Microsoft 365 mailbox and let Ally send from your Microsoft address.

Source: https://docs.getlinkai.com/integrations/outlook

Outlook connects an Outlook or Microsoft 365 mailbox so an agent can reply in that inbox and Ally can send from your Microsoft address. Threads appear in [Inbox](https://docs.getlinkai.com/products/inbox) under the **Outlook** filter.

**Note:**
Connecting unlocks the channel for the workspace. Agents do not reply until you turn on Outlook in the agent's **Deploy** tab.

## What you can do

- **Agent replies**: assign the mailbox to an agent, turn on Outlook in **Deploy**, and the agent answers incoming mail.
- **Ally send**: Ally can draft and send from the connected Microsoft address, with your confirmation.
- **Inbox**: Outlook conversations show up in Inbox. You can [take over](https://docs.getlinkai.com/agents/channels#human-takeover) a thread and reply yourself.
- **Workflows**: trigger on **Outlook Email Received**, then send or reply from Outlook.

This connection is for mail. For bookings and Teams links, connect [Outlook Calendar](https://docs.getlinkai.com/integrations/outlook-calendar) separately.

## Before you start

- The Microsoft account that owns the mailbox.
- Permissions requested: read and send mail in the connected mailbox, and keep replies in the same Outlook conversation.

## Connect

### Open the integration
Open **Integrations** → **Outlook** and click **Connect**.

### Approve access
Sign in with the Microsoft account that owns the mailbox and approve access. You return to Link AI with Outlook connected.

### Turn it on for an agent
Open the agent, go to **Deploy**, and turn on **Outlook**. If you have more than one send-as address, choose the one the agent should use. Save.

You should see the agent reply to the next incoming email, and the thread appear in Inbox under **Outlook**.

## Use it in a workflow

These require Outlook to be connected.

| Trigger | When it fires |
|---------|--------------|
| **Outlook Email Received** | A new message arrives in the connected inbox. |

Variables include `{{messageId}}`, `{{conversationId}}`, `{{fromEmail}}`, `{{fromName}}`, `{{subject}}`, `{{body}}`, and `{{receivedAt}}`.

| Action | What it does |
|--------|-------------|
| **Send Outlook email** | Send a new message from the connected mailbox. |
| **Reply to Outlook email** | Reply in the same conversation (use `{{messageId}}` from the trigger). |

See [Workflows](https://docs.getlinkai.com/agents/workflows) for the editor and variables.

## Troubleshooting

**Agent is not answering mail**
Outlook is connected for the workspace, but the agent still needs Outlook turned on in **Deploy**.

**Replies go from the wrong address**
Check the Outlook send-as address on the agent.

**Threads missing in Inbox**
Filter Inbox by **Outlook**, and confirm you are in the same workspace that connected the mailbox.

**Workflows can't send**
Reconnect Outlook if Microsoft asks for mail access again.

## Next steps

**[Outlook Calendar](https://docs.getlinkai.com/integrations/outlook-calendar)**:
Sync bookings and add Teams meetings.

**[Channels](https://docs.getlinkai.com/agents/channels)**:
Run Outlook alongside chat, WhatsApp, and voice.

**[Gmail](https://docs.getlinkai.com/integrations/gmail)**:
Send from a Google address.

**[Ally](https://docs.getlinkai.com/getting-started/ally)**:
Ask Ally to draft and send email.
