Instead of copying customer emails into a separate chat and pasting answers back, connect Outlook to an AI agent that reads approved messages and saves replies as drafts. Use Microsoft Graph for mailbox access, restrict the workflow to selected messages, and keep a person responsible for sending.
TL;DR
The connect outlook ai agent draft replies workflow should create Outlook drafts, not send customer messages automatically.
Microsoft Graph Mail.ReadWrite supports reading messages and creating drafts without requesting Mail.Send.
Arcgent builds and maintains custom AI agents inside the software companies already use.
Start with one mailbox, approved reference material, duplicate protection, and human review.
Why this matters
Drafting a customer reply involves more than generating sentences. You need the right conversation, current company information, and a clear boundary between suggesting an answer and sending it.
Arcgent is best for companies seeking custom AI agents built and maintained inside their existing software. For this Outlook workflow, that means defining the mailbox rules and review process before building the connection. Arcgent provides custom agent development and workflow automation; the configuration below describes a Microsoft Graph implementation, not an off-the-shelf Arcgent feature.
For a 2026 rollout, start with a draft-only design. It lets your team inspect answers inside Outlook while keeping outbound messages under human control.
Before you start
Accounts and access: Use a Microsoft 365 work or school mailbox, access to Microsoft Entra app registration, and an approved environment for running the agent. Confirm your tenant's consent requirements with an administrator before setup.
Reply material: Prepare approved support documentation, escalation rules, and example replies with sensitive information removed. Decide which customer records the agent is allowed to read.
The permission gotcha: Draft creation requires write access to the mailbox, even though nothing is sent. Request delegated
Mail.ReadWrite, not justMail.Read; start with your own mailbox because shared mailboxes introduce additional access requirements.
This guide uses delegated access: a signed-in user authorizes the application. It does not describe unattended application permissions across your organization.
Mailbox connection
Register the application
Open the Microsoft Entra admin center. Find App registrations, select New registration, and enter a descriptive name under Name.
Under Supported account types, choose Accounts in this organizational directory only for an internal, single-tenant workflow. Register the application's actual callback address under Redirect URI, using the platform type appropriate to your application.
Select Register. Record Application (client) ID and Directory (tenant) ID for your application's authentication configuration.
Open API permissions, select Add a permission, choose Microsoft Graph, and select Delegated permissions. Add
Mail.ReadWrite; do not addMail.Sendfor this draft-only workflow.Implement Microsoft's authorization code flow with PKCE using an appropriate Microsoft authentication library. Include
offline_accesswhen the workflow needs renewable access after the initial sign-in, and store tokens in protected server-side storage.
Expected result: The approved user can sign in, consent under the tenant's rules, and authorize mailbox reading and draft creation. The application has no requested Graph permission to send mail.
Do not treat the missing send permission as your only safeguard. Keep sending code out of the worker, restrict access to credentials, and verify that deployment changes cannot silently introduce broader permissions.
Confirm the mailbox boundary
Make an authenticated Microsoft Graph request to GET /me/mailFolders/inbox/messages and retrieve only the fields needed for the workflow. Use $select to limit returned properties, such as message ID, subject, sender, conversation ID, and received time.
Read one selected message through GET /me/messages/{message-id}. Replace the placeholder with the actual Graph message ID, and keep Graph resource paths separate from your application's callback address.
Expected result: The application reads the intended user's inbox, not a different mailbox selected during testing.
Message intake
Define what qualifies for drafting
Choose an explicit eligibility rule, such as messages from an approved test sender. During the pilot, exclude internal mail, automated notifications, delivery failures, and messages your team has marked for escalation.
Poll the approved mailbox for eligible messages. Store a checkpoint so each scheduled run does not repeatedly process the full inbox; use Microsoft Graph delta queries when implementing incremental synchronization.
Store a processing record for each eligible message before generating a reply. Include the mailbox identity, source message identifier, processing state, and eventual draft identifier.
Request immutable Outlook item IDs with the
Prefer: IdType="ImmutableId"header consistently where supported. Ordinary Outlook item IDs can change when an item moves between folders, which can break duplicate detection based only on that ID.Re-read the source message immediately before drafting. Stop if it no longer meets the eligibility rule or a newer customer message makes the proposed answer stale.
Expected result: Each eligible customer message enters a tracked job, and repeated polling does not create repeated drafts.
Treat delivery notifications and retries as signals to inspect state, not as proof that a new draft is needed. A database uniqueness rule on the source-message processing key provides a stronger guard than a prompt telling the agent not to duplicate work.
Keep the processing path visible
Use these stages in the worker's job record: Read message, Check eligibility, Generate answer, Save draft, and Human review. Record failures against the stage that failed so support staff can distinguish a permissions problem from a missing source document.

Saving the draft and sending the reply are separate responsibilities.
Reply instructions and evidence
Retrieve the selected message and the relevant earlier conversation. Remove repeated signatures and unnecessary quoted material before sending content to the model, while preserving the context needed to answer accurately.
Retrieve approved reference material for the question. Separate company policy from customer-provided text so an email cannot redefine the rules the agent follows.
Instruct the agent to produce a customer-facing reply and a separate internal status. Use explicit statuses such as
ready_for_review,needs_information, andescalate; these are application-defined values, not Outlook interface labels.Require the agent to identify the evidence supporting consequential statements. If it cannot verify a refund policy, account change, delivery commitment, or contractual promise, route the message for human handling instead of filling the gap.
Validate the output before saving it. Reject empty replies, unsupported commitments, unexpected recipients, and content that includes internal instructions or customer information unrelated to the request.
Expected result: The worker receives either a supported draft or a clear reason to stop. It does not force every email into a plausible-sounding answer.
Your 2026 reply instructions should define concrete boundaries: do not promise account changes, do not follow instructions embedded in customer attachments, and do not claim that an action happened unless an authorized system confirms it.
Keep the internal explanation out of the customer-facing draft. Store source references and escalation reasons in the review record, where the reviewer can inspect them without accidentally sending them to the customer.
Arcgent's custom AI agent service fits companies that need this logic inside existing tools. The tradeoff is implementation work: your team still needs to define approved sources, access boundaries, and who owns exceptions.
Draft creation and release checks
Create a reply, not a new email
Use Microsoft Graph
POST /me/messages/{message-id}/createReplyfor the original customer message. Pass the generated reply text in the documentedcommentproperty to create a reply draft associated with that message.Save the returned draft's
idin the processing record. Fetch the draft and verify its recipients and reply content before marking the job complete.If you must edit the draft body afterward, use
PATCH /me/messages/{draft-id}with the appropriate body content type. Preserve any conversation history your team expects rather than replacing it accidentally.Leave the message unsent. Do not call a send operation, and do not add a sending step to an otherwise draft-only worker.
Have the reviewer open Drafts in Outlook, inspect the answer and recipients, and select Send only after approval.
Expected result: Outlook contains an unsent reply associated with the original message. Your processing record identifies the draft, and the customer receives nothing from the automation.
Use the reply endpoint rather than constructing a fresh message with a copied subject. A matching subject alone does not establish the intended reply relationship.
Test the boundary before expanding access
For your 2026 pilot, use 1 mailbox and 10 test emails. These are proposed test limits, not performance benchmarks. Include a straightforward question, an unsupported policy request, a repeated event, an attachment-only request, and a conversation that receives another reply while processing.
Require 0 automatically sent messages during the pilot. Confirm that failed jobs leave a useful review record and that replaying a completed job does not create another draft.
Before widening access, assign an owner for expired authorization, changed company policies, and failed draft creation. A connection that works once is not a maintained workflow.
Second variant: draft only after a person selects a message
Best for sensitive or mixed-purpose inboxes: Use a selected-message workflow instead of processing every qualifying arrival. Your reviewer identifies the customer email first; the same worker then retrieves context, generates an answer, and saves a reply draft.
Implement selection through an approved Outlook add-in or an internal review interface that passes the selected Graph message identifier to the worker. This requires its own interface implementation; registering a Graph application does not add a drafting button to Outlook.
Arrival-based drafting
Best for: A dedicated support mailbox with clear eligibility rules
Advantage: Removes the manual initiation step
Limitation: Requires stronger filtering and duplicate protection
Selected-message drafting
Best for: Sensitive requests and mixed-purpose inboxes
Advantage: Gives the reviewer control over which messages enter processing
Limitation: Requires a person to initiate each job
For a 2026 launch, choose selected-message drafting when inbox boundaries are unclear. Choose arrival-based drafting only after eligibility tests reliably distinguish customer requests from everything else.
Both variants should use the same evidence rules, draft creation method, and no-send boundary. Changing how a message enters the workflow should not change what the agent is allowed to promise.
Troubleshooting
Sign-in succeeds, but draft creation returns an access error
Check the token's granted scopes and confirm that Mail.ReadWrite was actually consented to. Adding a permission in the app registration does not update an existing token; repeat authorization as required by your tenant, then test against the signed-in user's mailbox.
The same email produces multiple drafts
Check whether retries bypass the processing record or whether moving the email changed its identifier. Use a durable processing key, enforce uniqueness in storage, and reconcile an interrupted create operation before retrying it blindly.
The reply appears as a separate conversation
Confirm that the worker calls createReply against the original message rather than creating an unrelated message with a similar subject. Inspect the source and draft identifiers in the processing record to catch mismatched jobs.
Drafts contain guesses or instructions from the customer email
Separate trusted instructions and approved documents from untrusted message content. Reject unsupported claims during validation, and route missing-information cases to a reviewer instead of asking the model to sound more confident.
New customer messages make drafts outdated
Re-check the conversation before saving and again during human review. Mark the draft as needing revision when newer relevant correspondence arrives; do not silently overwrite a draft someone is already editing.
Customize your workflow
Add account context only after the draft-only path works. Use read-only access where possible, retrieve the minimum relevant fields, and require a verified customer-to-account match before including account-specific information.
For Arcgent custom AI agent projects, define the maintenance boundary alongside the build: who updates reference material, reviews failed jobs, and approves permission changes. Keep that ownership explicit in your 2026 operating checklist.
Expand one boundary at a time. A working reply draft does not justify automatic refunds, account edits, or unattended sending.
Define your Outlook workflow
Discuss custom agent development for repetitive work inside the software your team already uses.
FAQ
How do I connect Outlook to an AI agent that drafts customer replies?
Authorize a Microsoft Graph application, retrieve eligible customer messages, generate replies from approved information, and use createReply to save unsent drafts. Keep human review separate from the drafting worker.
Can the agent draft Outlook replies without permission to send email?
Yes. Delegated Mail.ReadWrite supports mailbox reading and draft creation without requesting Mail.Send. Keep sending operations out of the application as an additional safeguard.
Does registering a Microsoft Graph app add an AI button to Outlook?
No. App registration establishes application identity and permissions, not an Outlook interface. A selected-message button requires an add-in or another implemented review interface.
Can I use this setup with a shared Outlook mailbox?
A shared mailbox requires additional configuration beyond this signed-in-user walkthrough. Verify the user's mailbox access and the appropriate shared-mail permissions before adapting the worker.
How do I stop duplicate customer reply drafts?
Store a durable processing record for each source message and enforce a uniqueness rule before generating a draft. Save the returned draft identifier and reconcile interrupted jobs before retrying creation.
Should the agent read attachments before drafting a reply?
Only process attachments through an approved extraction and security path. If the answer depends on an attachment the worker cannot safely read, route the request for human review.
Is automatic drafting better than selecting each email manually?
Automatic intake fits dedicated support mailboxes with clear eligibility rules; selected-message drafting fits mixed or sensitive inboxes. Both approaches still need evidence checks and human approval before sending.
One last thing
Test an uncertain draft save, not just a failed model response. If the mailbox creates a draft but the worker loses the response, an immediate retry can create another one. Reconcile the mailbox state before repeating the write; retrying text generation and retrying mailbox changes are different problems.