An Outlook Add-in that intercepts the Send button and shows a confirmation dialog before the email is sent.
When the user clicks Send, a popup appears with 3 questions:
If the user clicks Send β email is sent.
If the user clicks Cancel β email is blocked.
π Click here to preview the dialog
outlook-smart-alerts/
βββ manifest.xml # Add-in manifest β sideload this into Outlook
βββ commands.html # Event-based runtime page (no UI)
βββ commands.js # OnMessageSend event handler
βββ dialog.html # Confirmation popup UI
βββ dialog.js # Dialog logic (Send / Cancel)
User clicks Send
βββ OnMessageSend event fires
βββ commands.js opens dialog.html as a popup
βββ User answers the 3 questions
βββ "Send" β email is sent (allowEvent: true)
βββ "Cancel" β email is blocked (allowEvent: false)
1. Open Outlook on the Web
https://outlook.office.com
2. Go to Add-ins settings
Settings β View all Outlook settings β Mail β Customize actions β Add-ins
Or navigate directly:
https://outlook.office.com/mail/options/general/manageAddIns
3. Sideload the manifest
manifest.xml from this repository4. Test
OnMessageSend1.13