An AI-powered email writing assistant for Microsoft Outlook, built as a VSTO add-in.
-
Quick Actions - One-click buttons to improve your email drafts:
- Proofread (grammar, spelling, punctuation)
- Revise (clarity and flow)
- Shorten / Lengthen
- Formal / Friendly tone
-
Draft New Emails - Describe what you want to write and let AI generate the email
- Voice input support using OpenAI Whisper
- Context-aware replies (AI sees the email chain)
-
Insert or Replace - Choose to add content at the top (preserving email chain) or replace everything
- Windows 10/11 or Windows Server 2019/2022/2025
- Microsoft Outlook 2016, 2019, 2021, or 2024 (desktop version)
- .NET Framework 4.8
- Visual Studio Tools for Office Runtime
This add-in requires:
- Anthropic API Key (Claude) - Required for all AI features. Get one at console.anthropic.com
- OpenAI API Key (Whisper) - Optional, for voice input. Get one at platform.openai.com
- Edit
VSTO2\OutlookAI\Config.csand add your API keys - Build the solution in Release mode
- Publish from Visual Studio (Right-click project > Publish)
- Copy the publish folder to your deployment location
- Run
Deploy\Install-OutlookAI.ps1as Administrator:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine
Unblock-File -Path "C:\OutlookAI\Install-OutlookAI.ps1"
cd C:\OutlookAI
.\Install-OutlookAI.ps1 -SourcePath "C:\OutlookAI"- Build and publish the solution
- Run
setup.exefrom the publish folder - Open Outlook and configure API keys in the Settings panel
- Open Outlook and compose a new email (New, Reply, or Forward)
- Click the AI Assistant button in the ribbon
- The task pane opens on the right side
- Write your email draft first
- Click any Quick Action button (Proofread, Revise, etc.)
- Review the result and click Insert or Replace
- Type or speak your instructions (e.g., "Write a thank you email to John for the meeting")
- Click Draft Email
- Review and insert the result
- Click the red circle button to start recording
- Speak your instructions
- Click again to stop and transcribe
- Requires OpenAI API key
- Visual Studio 2022
- Office/SharePoint development workload
- .NET desktop development workload
- Clone this repository
- Open
VSTO2\OutlookAI\OutlookAI.sln - Restore NuGet packages
- Build > Rebuild Solution
Settings are stored in %APPDATA%\OutlookAI\config.xml
Access the Settings panel by clicking the gear icon in the add-in. The default admin password is admin.
Located in the Deploy folder:
Install-OutlookAI.ps1- Per-machine install for all users (RDS/Terminal Server)Uninstall-OutlookAI.ps1- Remove the add-inEnable-OutlookAI-User.ps1- Re-enable if Outlook disabled the add-in
- Restart Outlook
- Check File > Options > Add-ins
- Run
Enable-OutlookAI-User.ps1
- Outlook's "Resiliency" feature may disable slow-loading add-ins
- Run
Enable-OutlookAI-User.ps1or add it to logon scripts
- Ensure all files are unblocked (Right-click > Properties > Unblock)
- Or run:
Get-ChildItem -Path "C:\Program Files\OutlookAI" -Recurse | Unblock-File
- Verify your API keys are correct
- Check your API account has credits/quota
- Ensure TLS 1.2 is enabled (default on modern Windows)
MIT License - See LICENSE file
- Anthropic Claude API - AI text generation
- OpenAI Whisper API - Speech-to-text
- NAudio - Audio recording