This plugin allows you to fetch email messages (including attachments) and convert them into Joplin notes in multiple formats.
Emails can be processed automatically by monitoring new or unread messages from a specific email address or mailbox, or manually by uploading downloaded email messages in .eml format without needing to log in to the plugin.
- Open Joplin
- Go to Tools > Options > Plugins
- Search for
Email Plugin - Click Install plugin
- Restart Joplin to enable the plugin
-
Monitor and fetch new or unread emails from a specific email address.
-
Monitor and fetch new or unread emails from a selected mailbox.
-
You can control how notes are created using simple syntax in the email subject or the first line of the email body:
@notebook→ save the note to a specific notebook#tag→ add tags to the note!Subject→ create a Todo note
-
Convert email messages (including attachments) into notes without being logged into the plugin.
-
Convert emails into notes using different output formats:
HTMLMarkdownPlain Text
-
Display attachments in multiple styles, such as:
TableLinks
-
- Open the Email Plugin.
- Sign in with your email credentials.
- Enter the email account you want to monitor for new or unread messages, then enable Fetching & Monitoring.
If you enter your own email address in the From field, you can simply forward emails to yourself.
You can control how the note is created using the following syntax:
-
Set note title
The email subject is used as the note title. -
Assign to a notebook
Add@notebook-nameto send the note to a specific notebook. -
Add tags
Add#tag-nameto attach tags to the note. -
Create a Todo note
Start the subject with!to create a Todo instead of a regular note.
Suppose you want:
- The note to be saved in the joplin and email notebooks
- The note to be tagged with gmail and email
- The note to be created as a Todo
Email subject:
!My message @joplin @email #gmail #email🎥 Demo:
demo.mp4
-
- Open the Email Plugin.
- Sign in with your email credentials.
- Select:
- The mailbox you want to monitor
- The notebook where notes should be created
- Enable Fetching & Monitoring Mailbox.
All new or unread emails from the selected mailbox will be converted into notes automatically.
Notes created from monitored mailboxes will automatically apply the following syntax (
#for tags,!for Todos) without any additional steps.
-
- Open the Email Plugin.
- Click Convert Saved Messages.
- Upload email files in
.emlformat. - Choose:
- Target notebook
- Tags
- Export options
- Click Convert to create notes from the uploaded emails.
-
⚠️ Make sure the email provider allows login using the original password; otherwise, use the app password. -
If you want to change the note format, remove attachments from the note, or change the attachments style while monitoring, go to
Tools>Email Plugin. -
If you mention folders or tags that don't exist in Joplin, they will be created automatically.
-
If you open the email message, the message is no longer
neworunread, but you can easily mark it as unread again.
The plugin is built using Webpack, which creates the compiled code in /dist. A JPL archive will also be created at the root, which can use to distribute the plugin.
To build the plugin, simply run npm run dist.
The project is setup to use TypeScript, although you can change the configuration to use plain JavaScript.
To test the plugin, simply run npm test. The testing library used is Jest.