SlingMD
Tools for Use with ObsidianMD - Seamlessly integrate your Outlook emails with Obsidian notes.
![]()
Overview
SlingMD is a powerful Outlook add-in that bridges the gap between your Outlook emails, calendar appointments, and contacts with Obsidian notes. It allows you to easily export and manage your emails, appointments, and contact information within your Obsidian knowledge base, helping you maintain a comprehensive personal knowledge management system.
Features
- Export Outlook emails directly to Obsidian markdown format
- HTML email bodies converted to Markdown — headings, lists, links and quotes come through, and inline images (screenshots, pasted pictures) are saved and linked
- Copy Email — copy selected emails or their complete threads to the clipboard as Markdown, with or without metadata, for pasting into an AI session
- Long paths handled automatically — file and folder names are shortened at a word break so nothing passes the Windows path limit, even in deep vaults
- Export Outlook calendar appointments to Obsidian markdown with full attendee, location, and recurrence metadata
- Preserve email metadata and formatting
- Create follow-up tasks in Obsidian notes and/or Outlook
- Appointment task creation (None / Obsidian / Outlook / Both)
- Seamless integration with Outlook's interface
- Easy-to-use ribbon interface with appointment inspector support
- Support for attachments and email threading
- Automatic email thread organization
- Recurring meeting threading — group recurring meeting instances into thread folders with summary notes
- Thread summary pages with timeline views
- Meeting join links — the Teams, Zoom, Google Meet or Webex link in an invitation becomes a clickable Join line and a
meetingUrlproperty - Companion meeting notes — optional blank note for real-time meeting capture, linked to the appointment note
- Bulk "Save Today's Appointments" — one-click export of all today's calendar items
- Save Date Range with a calendar picker — choose which calendars to export (every account's calendar, sub-calendars, shared mailboxes, and calendars shared with you in the Calendar pane); the choice is remembered and also used by Save Today
- Automatic contact note creation with communication-history Dataview tables
- Customisable note title formatting (placeholders for {Subject}, {Sender}, {Date}) with max-length trimming
- Advanced subject clean-up engine using user-defined regex patterns
- Configurable default tags for notes and tasks
- Relative vs. absolute reminder modes with optional per-task prompt
- Development/debug mode to surface internal thread-matching diagnostics
- Duplicate-email protection and safe file-naming, including chronological prefixes for threads
- Contact slinging — export single contacts or your entire address book to Obsidian with rich detail notes (phone, email, company, etc.)
- First-class markdown templates for email notes, contact notes, inline task lines, thread notes, appointment notes, and meeting notes
- Tabbed settings dialog organized into 9 focused tabs (General, Email, Appointments, Contacts, Tasks, Threading, Attachments, Auto-Sling, Developer)
- Searchable settings help — every setting has a ⓘ indicator, hover tooltips with tokens/examples, and a pop-out
Helpwindow with live search across all settings - Auto-sling — rule-based automatic export for new mail (sender, domain, or category) with toast or silent notifications
- Complete Thread — backfill missing emails from the currently-selected conversation in one click
- Sling Multiple — export a whole selection at once, optionally into a subfolder of your Inbox
- Right-click to sling — emails, appointments and contacts have a Sling with SlingMD entry in their context menu
- Fold quoted replies — optionally collapse the quoted history under a reply into an Earlier messages callout
- Body cleanup patterns — strip banners and footers from email bodies with your own patterns; cleaned notes are marked
bodyCleaned: true - Tables and Safe Links — data tables become Markdown tables and Safe Links are unwrapped to the original address
- Settings export / import / reset — move your settings to a new PC or start over from the More… menu
- Works without Obsidian — optionally show the saved note in File Explorer instead of launching Obsidian
Installation
-
Go to the Releases page for the newest version
-
Download the versioned ZIP attached to that release (named like
SlingMD.Outlook_1_2_5_0.zip) -
Important Security Step - Unblock the ZIP File:
- Right-click the downloaded ZIP file
- Click "Properties"
- At the bottom of the General tab, check the "Unblock" box
- Click "Apply"
- If you've already extracted the ZIP, delete the extracted folder first
- Extract the ZIP file again after unblocking
This step ensures all extracted files are trusted and in the same security zone, preventing potential issues.
-
Run the setup executable to install the Outlook add-in. If the installer says the add-in isn't signed or the publisher can't be verified, double-click
Trust-SlingMD.cmdin the extracted folder instead. It unblocks the files, adds SlingMD's certificate to the computer's trusted publishers (it asks for administrator rights) and then offers to run setup. You only need to do this once per computer. See Installing on a locked-down computer. -
Restart Outlook after installation
-
Enable the Sling Ribbon:
- In Outlook, click "File" > "Options" > "Customize Ribbon"
- In the left-hand dropdown menu, select "All Tabs"
- Find "Sling Tab" in the left column
- Click "Add >>" to add it to your ribbon
- Click "OK" to save changes
-
The SlingMD ribbon will now appear in your Outlook interface
Installing on a locked-down computer
SlingMD is signed with its own certificate ("SlingMD Development"), not one bought from a certificate authority, so Windows and Office don't recognise the publisher. On a home PC you get a prompt and can choose Install. On a work computer, or when the files came from a downloaded ZIP, Office may refuse instead, with an error that the add-in isn't signed or its publisher can't be verified.
Trust-SlingMD.cmd (included in every release ZIP) fixes this:
- Extract the whole ZIP.
- Double-click
Trust-SlingMD.cmdand approve the administrator prompt. - Answer Y to run setup.
The script only trusts SlingMD.cer, the public half of the certificate SlingMD is signed with. Check
that the thumbprint it shows matches the one listed on the release. To do the same by hand in an
administrator PowerShell, run this in the extracted folder:
Get-ChildItem . -Recurse | Unblock-File
Import-Certificate -FilePath .\SlingMD.cer -CertStoreLocation Cert:\LocalMachine\Root
Import-Certificate -FilePath .\SlingMD.cer -CertStoreLocation Cert:\LocalMachine\TrustedPublisher
If it still won't install, your organisation probably only allows add-ins from publishers IT has
approved (for example, Outlook's Trust Center → Add-ins → Require Application Add-ins to be signed by
Trusted Publisher). Ask IT to trust SlingMD.cer for you. If the error says SlingMD is already
installed from a different location, uninstall the old version from Apps & features first.
System Requirements
- Microsoft Outlook (Office 365 or 2019+)
- Windows 10 or later
- Obsidian installed on your system
Development
Prerequisites for building and testing
Building, running tests, and publishing the VSTO add-in require Visual Studio (2019 or later) with the Office/VSTO development workload installed. This workload provides Microsoft.VisualStudio.Tools.Office.targets, which both SlingMD.Outlook.csproj and SlingMD.Tests.csproj import at build time.
If you run dotnet build or dotnet test from the command line without Visual Studio tooling installed, the build will fail with:
error MSB4019: The imported project "...\Microsoft.VisualStudio.Tools.Office.targets" was not found.
This is expected. To resolve it, open the solution in Visual Studio with the Office developer tools workload enabled, or install that workload via the Visual Studio Installer under Workloads > Office/SharePoint development.
Editing the codebase (reading, searching, and modifying files) can happen in any editor such as VS Code, but a full build or test run requires the Visual Studio tooling described above.
Testing the pure helpers on any machine
The formatting, name-parsing and path helpers that need no Office, and the settings and log
classes they use, live in SlingMD.Core, a small
library built for both .NET Framework 4.7.2 (used by the add-in) and .NET Standard 2.0. Its tests
run with just the .NET SDK (10 or later), on Windows, macOS or Linux:
dotnet test SlingMD.Core.Tests
This covers the helpers only; the rest of the suite (SlingMD.Tests) still needs Visual Studio.
Usage
- Open Microsoft Outlook
- Select any email you want to save to Obsidian
- In the Outlook ribbon menu, locate and click the "Sling" button from the Sling Ribbon (it reads Sling Email, Sling Appointment or Sling Contact depending on what's selected), or right-click the item and choose Sling with SlingMD
- The email will be converted to Markdown format and saved to your configured Obsidian vault
- If enabled, follow-up tasks will be created in Obsidian and/or Outlook
Configuration
Before using SlingMD, you'll need to configure your Obsidian vault settings:
-
Click the "Settings" button in the Sling Ribbon
-
Configure the following options:
- Vault Name: Enter the name of your Obsidian vault
- Vault Base Path: Set the path to your Obsidian vault folder (e.g., C:\Users\YourName\Documents\Notes)
- Inbox Folder: Specify the folder within your vault where emails should be saved (default: "Inbox")
- Launch Obsidian: Toggle whether Obsidian should automatically open after saving an email
- Delay (seconds): Set how long to wait before launching Obsidian (default: 1 second)
- Show countdown: Toggle whether to show a countdown before launching Obsidian
- Create task in Obsidian note: Toggle whether to create a follow-up task in the Obsidian note
- Create task in Outlook: Toggle whether to create a follow-up task in Outlook
- Due in Days: Set the default number of days until tasks are due (0 = today, 1 = tomorrow, etc.)
- Use Relative Dates: Choose between relative or absolute date mode:
- When enabled (relative): Reminder days are calculated backwards from the due date
- When disabled (absolute): Reminder date is calculated forward from today
- Reminder Days: Set the default reminder timing:
- In relative mode: How many days before the due date
- In absolute mode: How many days from today
- Reminder Hour: Set the default hour for task reminders (24-hour format)
- Ask for dates: Toggle whether to prompt for dates each time (shows the Task Options form)
- Group Email Threads: Toggle whether to automatically organize related emails into thread folders
- Subject Cleanup Patterns: Configure patterns for cleaning up email subjects (e.g., removing "Re:", "[EXTERNAL]", etc.)
- Body Cleanup Patterns: Regex patterns removed from the email body before it is saved (e.g., external-sender banners, confidentiality footers).
^and$match per line; prefix a pattern with(?s)to span lines. Empty by default. Any note whose body a pattern altered getsbodyCleaned: truein its frontmatter - Contacts Folder: Where new contact notes will be stored (default: "Contacts")
- Enable Contact Saving: Toggle automatic creation of contact notes
- Search Entire Vault For Contacts: When enabled, SlingMD will look outside the contacts folder before creating a new contact note
- Note Title Format / Max Length / Include Date: Fine-tune how note titles are constructed
- Move Date To Front In Thread: When grouping emails, place the date at the beginning of the filename
- Default Note Tags / Task Tags: Tags automatically assigned to new notes or tasks (new installs:
emailon notes,FollowUpon the task line). Tags are cleaned up for Obsidian — a leading#is removed and spaces become- - Templates Folder / Template Files: Point SlingMD at Dataview-friendly templates for email notes, contact notes, inline task lines, and thread summaries (task templates customize the inline task line only)
- Email / Contact Filename Format: Optional filename formats using tokens like
{Subject},{Sender},{SenderFull},{Date},{Timestamp},{ContactName}, and{ContactShortName}. Filename {Date} Format sets how{Date}is written (defaultyyyy-MM-dd; e.g.{Subject} - {SenderFull} - {Date}withMM-dd-yyyygivesBudget review - Sara Adams - 09-23-2026.md) - Record Outlook ids / Record threadId: Untick to leave
internetMessageId/entryIdorthreadIdout of email note properties.threadIdis always kept while threads are grouped; without the ids, an email already slung is only recognised within the same Outlook session - Show Development Settings: Reveals additional debug options in the settings dialog
- Show Thread Debug: Pops up a diagnostic window listing every file that matches a conversationId
Newer settings — attachments (storage location, inline images, duplicate reuse, grouping a note with its files), auto-sling rules, appointments, Always create a thread folder, Ask where to sling and Copy note path to clipboard — are described in the app: hover the ⓘ next to any setting, or click Help in the Settings dialog to search them all.
-
Click "Save" to apply your settings
More… in the Settings footer opens the settings folder, exports your saved settings to a JSON file, imports one (for example on a new PC), or resets everything to the defaults while keeping your vault path. Imports and resets only fill the window; nothing changes until you click Save.
Note: Make sure your Vault Base Path points to an existing Obsidian vault directory. If you haven't created a vault yet, please set one up in Obsidian first.
Using SlingMD without Obsidian
SlingMD writes ordinary Markdown files, so you can use it before you've set up Obsidian (or without it at all):
- Set Vault Base Path and Vault Name to any folder, e.g.
C:\Users\You\DocumentsandEmail Notes. Click Browse to pick it. - Turn off Launch Obsidian after saving, so SlingMD never tries to open Obsidian.
- Optionally turn on Show the saved note in File Explorer to jump straight to each file after a sling.
Notes still use Obsidian-style [[links]] and Dataview blocks; they read fine as plain text. They'll work as-is if you later open the folder as an Obsidian vault.
Customization
SlingMD exposes several format strings so you can tailor the output to your vault or mention-plugin setup.
EmailDateFormat, ContactDateFormat, AppointmentDateFormat
Controls how {{date}} (and related date placeholders) render in exported notes. Uses the standard .NET DateTime format syntax.
- Default:
"yyyy-MM-dd HH:mm:ss"— e.g.,2026-04-21 09:30:00
Each domain has its own setting so you can keep email timestamps precise while rendering appointments as date-only.
Examples (non-default):
EmailDateFormat = "yyyy-MM-dd"
Produces: 2026-04-21
ContactDateFormat = "MMMM d, yyyy"
Produces: April 21, 2026
AppointmentDateFormat = "dddd, MMMM d, yyyy h:mm tt"
Produces: Tuesday, April 21, 2026 9:30 AM
ContactLinkFormat
Controls how {{to}}, {{from}}, and {{cc}} render recipients in email and appointment notes. Supports tokens: {FullName}, {FirstName}, {LastName}, {MiddleName}, {Suffix}, {DisplayName}, {ShortName}, {Email}, {FirstInitial}, {LastInitial}.
- Default:
"[[{FullName}]]"— produces[[John Smith]]
Examples (non-default):
ContactLinkFormat = "@{FirstName}{LastName}"
Produces: @JohnSmith — compatible with the At People plugin for inline mentions.
ContactLinkFormat = "[[{LastName}]]"
Produces: [[Smith]]
ContactLinkFormat = "@{FirstInitial}{LastInitial}"
Produces: @JS
Subject cleanup
The default subject-cleanup patterns now correctly preserve words that contain re- (like pre-release). If you upgraded from a previous version, SlingMD silently migrates the broken default pattern on first load — your custom patterns are never touched.
Task Creation
When task creation is enabled, SlingMD can create follow-up tasks in two locations:
Obsidian Tasks
- Created at the top of the note
- Uses Obsidian's task format with date metadata
- Links back to the email note
- Tagged with #FollowUp for easy tracking
Outlook Tasks
- Creates a task in your Outlook task list
- Includes the email subject and content
- Configurable due date (0-30 days from creation)
- Configurable reminder time (0-23 hour)
- Option to prompt for due date and reminder time for each task
Task Options
When "Ask for dates" is enabled, the Task Options form will appear when creating tasks. This form allows you to:
-
Set the due date using either:
- Relative mode: Specify number of days from today
- Absolute mode: Pick a specific date from a calendar
-
Set the reminder using either:
- Relative mode: Specify number of days before the due date
- Absolute mode: Pick a specific date from a calendar
-
Set the reminder hour (in 24-hour format)
The "Use Relative Dates" toggle switches between:
- Relative mode: Reminder is set relative to the due date (e.g., "remind me 2 days before it's due")
- Absolute mode: Reminder is set to a specific date (e.g., "remind me next Tuesday")
Email Threading
When email threading is enabled (via the "Group Email Threads" setting), SlingMD will:
- Automatically detect related emails using conversation topics and thread IDs
- Create a dedicated folder for each email thread
- Generate a thread summary note (0-threadname.md) containing:
- Thread start and end dates
- Number of messages
- List of participants
- Timeline view of all emails in the thread
- Move all related emails into the thread folder
- Keep the thread summary current — its timeline and participants are rendered live by Dataview, so the note itself is written once and anything you add to it is kept
- Link emails to their thread summary for easy navigation
This organization helps keep related emails together and provides a clear overview of email conversations in your vault.
Contact Slinging
SlingMD can export your Outlook contacts directly to Obsidian as rich markdown notes:
Single Contact
- Select a contact in Outlook
- Click "Sling" on the Sling ribbon
- The contact is exported with all available details (phone, email, company, address, etc.)
All Contacts
- Click "Sling All Contacts" in the Contacts group on the Sling ribbon
- Confirm the export (SlingMD shows how many items it will go through)
- SlingMD exports every contact from your default address book, with a progress window you can cancel
- Existing contact notes are skipped (no duplicates)
- A summary dialog shows how many contacts were saved, skipped, or had errors
Appointment Contact Linking
When you sling an appointment, SlingMD automatically checks the attendees against your vault. Existing contact notes are refreshed, and you're offered the option to create notes for new contacts (same behavior as email slinging).
Contact Note Include Details
In Settings > Contacts, the "Include contact details" checkbox controls whether slung contact notes get a ## Contact Details section with phone, email, company, title, address, and birthday. When disabled, contacts get the simpler template (name + communication history only).
Custom Templates
SlingMD uses {{placeholder}} templates to generate markdown notes. You can customize the layout and content of every note type by creating your own template files.
How It Works
- Create a
.mdfile in your vault's Templates folder (configured in Settings > General) - Use
{{placeholders}}for dynamic content — SlingMD replaces them at export time - Point the matching template setting (e.g., "Contact Template File") to your file name
- Your template is used for all notes of that type going forward
If no custom template is configured, SlingMD uses sensible built-in defaults.
Note: If you drop a
ContactTemplate.mdinto your vault's Templates folder, SlingMD will load and use it automatically. (Earlier versions only honored the file when the template filename was changed to a non-default name — this is now fixed.)
Template Types and Settings
| Note Type | Setting Name | Default File | Description |
|---|---|---|---|
| Email Template File | EmailTemplate.md | Exported email notes | |
| Contact | Contact Template File | ContactTemplate.md | Contact notes (both email-created and slung) |
| Task | Task Template File | TaskTemplate.md | Inline task lines in notes |
| Thread | Thread Template File | ThreadNoteTemplate.md | Thread summary notes |
| Appointment | Appointment Template File | AppointmentTemplate.md | Exported appointment notes |
| Meeting Note | Meeting Note Template File | MeetingNoteTemplate.md | Companion meeting notes |
Available Placeholders
Every note template supports {{frontmatter}} (the YAML properties block). Each property in that block is also available on its own — for example {{fromEmail}} or {{tags}} — and every list property has Csv and Yaml variants ({{toCsv}}, {{tagsYaml}}). The same lists appear in the app: hover a template setting or search Help in Settings.
Email templates (EmailTemplate.md, default {{frontmatter}}{{taskBlock}}{{body}}):
{{body}}, {{taskBlock}}, {{subject}}, {{noteTitle}}, {{senderName}}, {{senderShortName}}, {{senderEmail}}, {{from}}, {{fromEmail}}, {{to}}, {{toEmail}}, {{cc}}, {{ccEmail}}, {{date}}, {{timestamp}}, {{dailyNoteLink}}, {{threadNote}}, {{threadId}}, {{internetMessageId}}, {{entryId}}, {{tags}}, {{fileName}}, {{fileNameNoExt}}
Appointment templates (used when the file exists in your Templates folder; otherwise SlingMD uses its built-in layout). Label lines such as **Optional:** are dropped when their value is empty:
{{body}}, {{taskBlock}}, {{subject}}, {{noteTitle}}, {{organizer}}, {{organizerEmail}}, {{attendees}}, {{optionalAttendees}}, {{resources}}, {{location}}, {{startDateTime}}, {{endDateTime}}, {{date}}, {{recurrence}}, {{meetingNotes}}, {{meetingUrl}}, {{calendar}}, {{dailyNoteLink}}, {{globalAppointmentId}}, {{tags}}, {{fileName}}, {{fileNameNoExt}}
Meeting note templates:
{{appointmentTitle}}, {{appointmentLink}}, {{organizer}}, {{attendees}}, {{date}}, {{location}}
Contact templates:
{{contactName}}, {{contactShortName}}, {{firstName}}, {{middleName}}, {{lastName}}, {{suffix}}, {{fullName}}, {{displayName}}, {{created}}, {{phone}}, {{email}}, {{company}}, {{jobTitle}}, {{address}}, {{birthday}}, {{notes}}, {{fileName}}, {{fileNameNoExt}}
All contact placeholders are available regardless of how the contact was created. When a contact comes from email (name only), the detail fields ({{phone}}, {{email}}, etc.) render as empty strings. When a contact is slung from Outlook, all available fields are populated.
Task templates (the inline - [ ] line only):
{{noteLink}}, {{noteName}}, {{tags}}, {{createdDate}}, {{dueDate}}, {{reminderDate}}
Thread summary templates:
{{title}}, {{threadId}}, {{folderPath}}
Example Custom Contact Template
Create a file called MyContactTemplate.md in your vault's Templates folder:
{{frontmatter}}
# {{contactName}}
> **{{jobTitle}}** at **{{company}}**
## Details
| Field | Value |
|-------|-------|
| Phone | {{phone}} |
| Email | {{email}} |
| Address | {{address}} |
| Birthday | {{birthday}} |
## Communication History
(Add your Dataview query here)
## Notes
{{notes}}
Then set "Contact Template File" to MyContactTemplate.md in Settings > Contacts.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the terms included in the LICENSE file.
Support
If you encounter any issues or have questions, please open an issue in the GitHub repository.
Changelog
See CHANGELOG.md for the full release history.
Disclaimer
THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The author is not responsible for any data loss, corruption, or other issues that may occur while using this software. Always ensure you have proper backups of your data before using any software that modifies your files.
☕ Like what I'm building? Help fuel my next project (or my next coffee)!
Support me on Buy Me a Coffee 💻🧵🔥
How to Install
- Download the ZIP or clone the repository
- Open the folder as a vault in Obsidian (File → Open Vault)
- Obsidian will prompt you to install required plugins
Stats
Stars
32
Forks
5
License
MIT
Last updated 8d ago
Categories