Sign in ยท about 2 min

Connect Outlook to your AI agents

Personal Outlook.com, Hotmail and Live addresses as well as Microsoft 365 work accounts, all read through the same connection as your other inboxes.

Covers
  • @outlook.com, @hotmail.com, @live.com and @msn.com, including country variants
  • Microsoft 365 work and school mailboxes
  • Shared and secondary accounts, each connected separately

Microsoft's own assistants live inside Microsoft 365, and the assistant connectors from Anthropic and OpenAI focus on organizational tenants. A personal Hotmail address, or a mix of a work tenant and a private Outlook.com inbox, rarely fits in one place.

Emailgents connects each Microsoft account through Microsoft's sign-in, keeps a structured index of recent mail via Microsoft Graph, and exposes it to every agent next to your Gmail, iCloud and IMAP mailboxes.

How to connect Outlook

Nothing is stored until the connection test passes.

  1. 01
    Create an Emailgents accountSign up at emailgents.com. Any sign-in method works; the mailbox connection is a separate step.
  2. 02
    Add OutlookOpen Mailboxes, choose Outlook / Microsoft 365 and click Connect with Microsoft. Sign in with the account you want to add and approve mailbox access.
  3. 03
    Let the index buildThe last 90 days are indexed right away and refreshed every few minutes. Add further Microsoft accounts the same way.
  4. 04
    Add the connector to your agentPaste https://emailgents.com/mcp into your agent and sign in once. The Outlook mailbox appears in list_accounts with its folders.
MCP server URL for any agent
https://emailgents.com/mcp

What agents get

  • Folders map one to one: Inbox, Sent Items, Archive, Junk, Deleted Items and every custom folder.
  • Changes arrive through Microsoft Graph delta queries, so new mail reaches the index within minutes without rescanning the mailbox.
  • Flags and read state stay in sync both ways; set_flags updates the message in Outlook, not just the index.
  • Attachments download up to 4 MB inline for agents and 25 MB through the authenticated URL.

Limits and prerequisites

  • Microsoft 365 tenants can require admin consent for third-party apps. If sign-in stops at a consent screen, your administrator needs to approve Emailgents once.
  • Native Microsoft consent requests identity/session scopes including User.Read, Mail.ReadWrite, Mail.Send, MailboxSettings.Read, Calendars.ReadWrite and Contacts.Read. These cover mail modification and sending, reading the category catalogue, calendar writing and contact reading. Granted permissions and provider capabilities are checked separately; housekeeping requires enabled rules.
  • On-premises Exchange without Microsoft Graph is not reachable through this route. If IMAP is enabled on that server, use the generic IMAP connection instead.

Use it from your agent

Once Outlook is connected, add Emailgents to the agent you use.

Outlook questions

Does this work with a personal Hotmail or Outlook.com address?

Yes. Personal Microsoft accounts and Microsoft 365 work accounts both connect with the same Connect with Microsoft button and appear as separate mailboxes.

Can I connect a work tenant and a private inbox at the same time?

Yes. Connect them one after the other. Agents see both and can filter by account; API keys can be scoped to only one of them if you want to keep a script away from the other.

Is it safe to give an AI agent access to my Outlook mail?

Mail tools search, read, retrieve attachments and change flags. Archive, recoverable Trash and provider labels depend on mailbox capabilities and per-mailbox agent permissions. Ordinary plain-text sending and replying require native Google or Microsoft OAuth with Send permission; app-password and legacy connections are unsupported. Calendar creation and RSVP remain provider-dependent. Credentials are encrypted and agent calls are logged; treat email content as untrusted and review write permissions.

How do I revoke access?

Remove the mailbox in Emailgents or revoke Emailgents under App permissions in your Microsoft account. Either one ends access at once; the index for that mailbox is deleted.

What exactly does Emailgents store from Outlook?

A structured index of recent mail: sender, recipients, subject, date, folder, flags, thread references, attachment names and a short cleaned snippet. The default window is 90 days per mailbox and you can change it. Bodies are fetched from Outlook on open and during bounded background sync. Encrypted body caching and body indexing have separate per-mailbox controls; searchable body words are not an encrypted body copy. Calendar details extracted from mail are stored encrypted. Cache eviction does not delete provider mail or indexed words.

Which agents can read my Outlook inbox through Emailgents?

Any MCP client: Claude, ChatGPT, Claude Code, Cursor, Codex, Gemini CLI, Windsurf, VS Code and any other MCP client, or your own scripts over REST. You add one URL, https://emailgents.com/mcp, sign in once, and every mailbox you have connected appears to that agent.

Other providers

Your agents can read mail in five minutes.

One account, as many mailboxes as you need, every agent you run.