Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

E-mail Importer (IMAP)

andreas13xxxandreas13xxx287 downloads

Import emails from an IMAP mailbox into your Obsidian vault as Markdown notes with attachments.

Add to Obsidian
E-mail Importer (IMAP) screenshot
  • Overview
  • Scorecard
  • Updates2

An Obsidian plugin that imports emails from an IMAP mailbox into your vault as Markdown notes. Unread emails are fetched, converted to Markdown with YAML frontmatter, and saved alongside their attachments.

Features

  • Connect to any IMAP server (SSL/TLS or STARTTLS)
  • Import unread emails as Markdown notes with YAML frontmatter
  • Convert HTML emails to Markdown (tables, headings, lists preserved)
  • Save attachments and inline images locally, linked in the note
  • Automatic sync on a configurable interval
  • Manual sync via ribbon icon or command palette
  • Duplicate filename handling with automatic numbering
  • Status bar progress indicator during sync

Installation

Using BRAT Plugin

To make the installation as easy as possible use the BRAT Plugin.

Manual Installation

  1. Download main.js, manifest.json, and styles.css from the latest release.
  2. Create a folder in your vault: <YourVault>/.obsidian/plugins/obsidian-mail-importer/
  3. Copy the three files into that folder.
  4. Restart Obsidian or reload plugins.
  5. Go to Settings → Community plugins, find "Email Importer", and enable it.

Configuration

Open Settings → Community plugins → Email Importer to configure the plugin.

IMAP Connection

Setting Description Default
Host IMAP server hostname (empty)
Port IMAP server port 993
Security SSL/TLS (port 993) or STARTTLS (port 143) SSL/TLS
Username Your email account username (empty)
Password Your email account password (empty)

Mailbox

Setting Description Default
Folder IMAP folder to monitor INBOX

Import

Setting Description Default
Vault folder Folder in your vault where emails are saved Emails
Interval Auto-sync interval in minutes (0 = manual only) 0

Use the Test connection button to verify your IMAP settings. Use Sync now to trigger an immediate import.

Usage

Manual Sync

  • Click the mail icon in the ribbon (left sidebar), or
  • Open the command palette (Ctrl/Cmd + P) and run Email Importer: Sync now

Automatic Sync

Set the sync interval to a value greater than 0 in the plugin settings. The plugin will check for new emails at that interval (in minutes).

What Happens During Sync

  1. The plugin connects to your IMAP server.
  2. All unread emails in the configured mailbox are fetched.
  3. Each email is converted to a Markdown file with YAML frontmatter.
  4. Attachments and inline images are saved to a subfolder.
  5. Successfully imported emails are marked as read on the server.
  6. The connection is closed.

If an email fails to import, it remains unread and will be retried on the next sync.

File Format

Each imported email is saved as a Markdown file with the following structure:

Filename

YYYY-MM-DD HH-mm <Subject>.md

Special characters in the subject (/ \ : * ? " < > |) are replaced with -. If a file with the same name already exists, a counter is appended: (2), (3), etc.

Frontmatter

---
date: 2025-05-10T09:15:00+02:00
from: [email protected]
to: [email protected]
cc: ""
subject: Invoice May 2025
messageId: <[email protected]>
attachments:
  - invoice.pdf
  - logo.png
---

Body

The HTML body is converted to Markdown. Inline images are embedded as ![filename](path). File attachments are listed at the end as Obsidian wiki-links: [[path]].

Attachments

Attachments are stored in:

<ImportFolder>/attachments/<email-filename>/

Security Notice

⚠️ Password is stored in plaintext. Your IMAP password is saved unencrypted in Obsidian's data.json file within the plugin folder. This is a known limitation. Take appropriate precautions:

  • Use an app-specific password if your email provider supports it.
  • Be aware that anyone with access to your vault files can read the password.
  • Do not sync the .obsidian/plugins/obsidian-mail-importer/data.json file to untrusted locations.

The plugin disables IMAP client logging to prevent credentials from appearing in console output.

Troubleshooting

Issue Solution
Connection timeout Verify host/port are correct. The plugin has a fixed 30-second timeout. Check firewall settings.
No emails imported Ensure there are unread emails in the configured mailbox folder.
Plugin not loading Confirm main.js and manifest.json are in the plugin folder. Restart Obsidian.
Sync button does nothing A sync may already be in progress. Wait for it to complete.
Garbled text The plugin handles standard MIME encodings. Severely malformed emails may not parse correctly.

Requirements

  • Obsidian Desktop (v1.0.0+)
  • This plugin is desktop only — it requires Node.js APIs for IMAP connections.

License

0-BSD

HealthExcellent
ReviewPassed
About
Import unread emails from any IMAP mailbox into your vault as Markdown notes with YAML frontmatter. Convert HTML to Markdown while preserving tables, headings and lists; save attachments and inline images locally with links; sync automatically or on demand, handle duplicate filenames, and show sync progress.
ImportAttachmentsSyncing
Details
Current version
1.0.5
Last updated
2 months ago
Created
3 months ago
Updates
2 releases
Downloads
287
Compatible with
Obsidian 1.12.0+
Platforms
Desktop only
License
0BSD
Report bugRequest featureReport plugin
Author
andreas13xxxandreas13xxx
GitHubandreas13xxx
  1. Community
  2. Plugins
  3. Import
  4. E-mail Importer (IMAP)

Related plugins

Local Images Plus

A reincarnation of Local Images to download images in Markdown notes to local storage.

Nexus AI Chat Importer

Import AI chat conversations from ChatGPT, Claude, and Mistral Vibe (formerly Le Chat) exports into Obsidian as clean, readable Markdown files.

YAOS

Simple real-time sync powered by your own Cloudflare Worker.

Epub Importer

Import EPUB files as Markdown.

CMDS Eagle

Connect Eagle asset library to Obsidian. Search, embed, and upload images to cloud (ImgHippo, R2, S3, WebDAV).

Importer

Convert your data to Markdown files you can use in Obsidian. Works with Apple Notes, OneNote, Evernote, Notion, Google Keep, and many other formats.

Fast Note Sync

Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base.

Share Note

Instantly share/publish a note, with the full theme and content exactly like you see in Obsidian. Data is shared encrypted by default, and only you and the person you send it to have the key.

Zotero Integration

Insert and import citations, bibliographies, notes, and PDF annotations from Zotero.

Ink

Handwriting and drawing directly between paragraphs using a digital pen, stylus, or Apple pencil.