A B23 downloadsDrag an email from Outlook on the web or the Outlook app into a note to insert a link that opens it in Outlook. No sign-in.
Drag an email from Outlook on the web, or the Outlook app installed from it (PWA), onto a note. A link to that email is inserted where you drop it:
[📧 RE: Budget for Q3](https://outlook.office365.com/mail/deeplink/read/AAkALg…)
Clicking the link opens the email in Outlook. Drag several selected emails at once and each gets its own line. Dragging a whole conversation, in a folder shown as conversations, links its newest message.
Drag a folder from Outlook's folder pane and you get a link that opens that folder:
[📁 01 Projects](https://outlook.office365.com/mail/AAMkAD…)
This plugin is not made by or affiliated with Microsoft. Outlook is a trademark of Microsoft.
Network use: none. The plugin makes no network requests.
Programs it runs (Windows only): to open links in the Outlook app, the
plugin runs two programs with Node's child_process, which is why
Obsidian's plugin review warns about shell execution:
powershell.exe, to ask Windows which Outlook apps Edge has installed
(Get-AppxPackage, reading each Outlook app's AppxManifest.xml). It
runs on the first Outlook link you click, and again only when you select
Find app, when opening the app fails, or, if no app was found, on
the first click after Obsidian restarts.msedge_proxy.exe, to open a link in the app.Both run without a shell, and the link is passed as a single argument, so a link can't run commands. Nothing runs on other systems, and nothing runs if you turn off Open links in the Outlook app before your first click.
Files: the plugin reads and writes no files itself beyond its own
settings in data.json. The app it found (app ID, browser profile, start
address and which msedge_proxy.exe started it) is kept with Obsidian's
local storage on this computer, outside the vault's files, so it doesn't
sync to other computers.
No telemetry, ads, payments or account.
On Windows, clicking an Outlook link opens it in the Outlook app you installed from Edge (the PWA), in a window of its own. Without that app, and on other systems, links open in your browser.
msedge_proxy.exe, the way the app's own
shortcuts do. Only msedge_proxy.exe in Edge's own install folders is
ever run. It moves the link to the app's address, such as
outlook.office365.com. Links made with another Outlook address, such as
outlook.office.com, or copied from Outlook's address bar
(outlook.cloud.microsoft), also open in the app./mail/), not only the ones this plugin made. Calendar
links and personal Outlook (outlook.live.com) links open in the browser.
Turn Open links in the Outlook app off to send them all to the browser.| Setting | Default | Notes |
|---|---|---|
| Link template | [📧 {{subject}}]({{url}}) |
{{subject}}, {{url}}, {{id}}, {{messageId}}, {{mailbox}} |
| Email URL | https://outlook.office365.com/mail/deeplink/read/{{id}} |
{{id}} is the URL-encoded item ID, {{rawId}} the ID as is; also {{mailbox}}, {{messageId}} |
| Folder link template | [📁 {{name}}]({{url}}) |
{{name}}, {{url}}, {{id}}, {{mailbox}} |
| Folder URL | https://outlook.office365.com/mail/{{id}} |
{{id}} is the folder ID URL-encoded twice (see below), {{rawId}} the ID as is |
| Between emails | new line | Put between links when several emails are dropped. |
| Open links in the Outlook app | on | Windows only. |
{{messageId}} is the email's Internet message ID (<…@…>), which is the
same in every copy of the email, and {{mailbox}} is the mailbox it was
dragged from.
outlook.office365.com
forwards to outlook.cloud.microsoft and decodes the address once on the
way, so the folder ID is encoded twice to arrive the way Outlook expects.
If Microsoft changes that forwarding, folder links open the inbox instead,
and Folder URL needs changing; email links are not affected.Au2mater/obsidian-outlook-email-links.main.js and manifest.json from the latest
release into <vault>/.obsidian/plugins/outlook-email-links/, then enable
the plugin under Settings → Community plugins.Plain JavaScript with no dependencies. The source is src/plugin.js;
npm run build checks it and writes main.js, the file Obsidian loads.
./install.sh "/path/to/vault/.obsidian" # builds, then copies
npm test
To release, bump version in manifest.json and package.json, add it to
versions.json and commit, then push a tag such as 0.3.0; the workflow
builds, tests and publishes the release.