> For the complete documentation index, see [llms.txt](https://docs.slapfive.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.slapfive.com/integrations/microsoft/outlook-microsoft-365/connect-to-outlook.md).

# Connect to Outlook

Microsoft Outlook uses **Authorization Code Grant (Delegated Authentication)** for enabling SlapFive's automation engine to connect to Outlook to send emails. This method connects to Outlook using **delegated authentication**, meaning emails are sent **on behalf of a signed-in mailbox user.**

### Prerequisites

1. **A standard user mailbox exists**
   * Example: `reference@company.com` or `advocacy@company.com`
   * The mailbox must:
     * Be licensed for Exchange Online
     * Be able to sign in
     * Use MFA per tenant policy
2. **(Optional) Shared mailbox Send As**

   * If emails should come from a shared mailbox (e.g. `references@company.com`):
     * Connect with a service account that has **Send As** permission on the shared mailbox.
     * Send As is configured on the *shared mailbox*, not the user

   Example (PowerShell):

   ```powershell
   Add-RecipientPermission `
     -Identity references@company.com `
     -Trustee mattw@company.com `
     -AccessRights SendAs `
     -Confirm:$false
   ```

### Create the Outlook Connection in SlapFive

In SlapFive, go to **Settings > Integrations** and click to open the box named **Outlook Connection** and click the **Connect** button.

1. Sign in using the chosen mailbox user (or service account).
2. Complete MFA as required.
3. Approve Microsoft consent prompts.

No passwords are shared with SlapFive.

[CC-based auth](/integrations/microsoft/outlook-microsoft-365/connect-to-outlook-with-client-credentials-based-auth.md).


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.slapfive.com/integrations/microsoft/outlook-microsoft-365/connect-to-outlook.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
