No description
Find a file
2023-02-02 15:45:13 +01:00
.github Initial commit 2022-12-17 18:42:48 +01:00
example Add placeholder variables (version 0.3.0) 2023-01-04 21:15:18 +01:00
.gitignore Initial commit 2022-12-17 18:42:48 +01:00
CHANGELOG.md Version 0.3.2 2023-01-13 07:37:40 +01:00
esbuild.config.mjs Initial commit 2022-12-17 18:42:48 +01:00
LICENSE Initial commit 2022-12-17 18:42:48 +01:00
main.ts "" for second parameter in getFirstLinkpathDest if absolute path 2023-01-13 07:36:14 +01:00
manifest.json Version 0.3.2 2023-01-13 07:37:40 +01:00
package.json Version 0.3.2 2023-01-13 07:37:40 +01:00
README.md Remove "(not yet)" 2023-02-02 15:45:13 +01:00
styles.css Initial commit 2022-12-17 18:42:48 +01:00
tsconfig.json Initial commit 2022-12-17 18:42:48 +01:00
versions.json Version 0.3.2 2023-01-13 07:37:40 +01:00

Email Block for Obsidian GitHub tag (latest by date) Release Obsidian Plugin GitHub all releases

This plugin lets you plan small emails inside your Obsidian notes.

Install ..

.. automatically in Obsidian

  1. Go to Community Plugins in your Obsidian Settings and disable Safe Mode
  2. Click on Browse and search for "Email Block"
  3. Click install
  4. Toggle the plugin on in the Community Plugins tab

.. manually from this repo

  1. Download the latest release *.zip file.
  2. Unpack the zip in the .obsidan/plugins folder of your obsidian vault

How to use

Add the "email" code block into your note:

... with plain text as body content:

```email
to: info@randommail.com
subject: My Subject
body: "Hey info,

  here is some content"
```

... with a referenced note as body content:

```email
to: info@randommail.com
subject: My Subject
body: [[MyMail4711]]
variables:
  myvar: TestVar
```

You can use the variables parameter to replace placeholders in your body text with the variable values. To include a variable in the body text just add a placeholder {{myvar}}. Variables from frontmatter data can be used as well.

Parameter

You can customize the view with the following parameters:

Parameter Description Values
to The main receiver of the mail. Multiple receiver seperated by ",". String value
cc The cc receiver of the mail. Multiple receiver seperated by ",". String value
bcc The bcc receiver of the mail. Multiple receiver seperated by ",". String value
subject The subject of the email. String value
body The body of the email. Plain text or a link to a NoteFile (x). String value
showmailto Show the "mailto" link after the mail body. true/false (Default: true)
variables A map of placeholder variables. YAML Object

x) Note that no formatting is supported (only new lines) (reason).

Example

Example

How to dev

  1. Clone this repo into the plugin folder of a (non-productive) vault (.obsidian/plugins/)
  2. npm i
  3. npm run dev
  4. Toggle the plugin on in the Community Plugins tab

Donate

Buy Me a Coffee at ko-fi.com