Template Guide

Home / Email Templates / Template Guide

Email Template Creation Guide

Last Edited: 2026-07-07 02:27

This document serves as a guide for humans and AI agents to write markdown email templates that are fully compatible with the Email Composer tool (both the browser utility and CLI scripts).


1. Structure of a Template File

A standard template file should be structured as follows:

---
subject: "Accessing your AI Roadmap & Uberall dashboard"
---

Hi [Client First Name],

As part of your subscription with Online Access, we have set up your custom AI Roadmap.

You can view your baseline AI Roadmap [here]([AI Roadmap Link]).

Best,

Frontmatter (YAML)


2. Formatting Placeholders & Variables

Variables are identified by enclosing them in single brackets: [Variable Name].


3. Zoho-Friendly Hyperlinking

To keep emails looking human, we format links over words (e.g. here) rather than pasting raw URLs.


4. Markdown Formatting Support

The Email Composer translates standard Markdown syntax into Zoho-compatible, inline-styled HTML blocks:

Markdown Syntax Zoho HTML Output Styling
**Bold Text** <strong>Bold Text</strong> Bold
*Italic Text* <em>Italic Text</em> Italics
- List Item <li>List Item</li> Bullet
1. List Item <li>List Item</li> Numbered
Paragraph breaks <p style="...">Paragraph</p> Standard spacing

5. Programmatic Compilation (AI / CLI)

AI agents can compile this file automatically by running:

node execution/compile_email.js --template "vault/Obsidian Vault/garden/Templates/Template Guide.md" --vars "{\"Client First Name\": \"John\", \"AI Roadmap Link\": \"https://link.com\"}"
Powered by Forestry.md