Snippets and templates
For recurring text there are two tools: snippets for sentences and paragraphs that you insert directly, and templates for longer texts with placeholders that get filled in on insert.
Snippets
Section titled “Snippets”A snippet is a piece of text with a name and, optionally, a Trigger
Keyword. The keyword makes it fast: type a slash in the editor, the
keyword, and then the Tab key, and YouniqMail inserts the snippet
right away. /thanks plus Tab becomes the fully written thank-you
paragraph without your hands leaving the keyboard.
In the compose window, a slash at the start of a line or after a space
also opens a list of your snippets. Keep typing to narrow it down by
keyword or name, pick with the arrow keys and insert with Tab or Enter.
Escape closes the list. Here keywords may contain any letters, digits,
_ and -, so /grüße works too.
Directly after other text and in the Quick Reply below an email, there is no list: there only keywords made of letters without accents or umlauts, digits and the underscore trigger with Tab.
Create them under Settings → Text Blocks → Snippets:
- Add snippet
- Give it a name, optionally a trigger keyword
- Write the text, formatting included (images are not possible in snippets)
- Save
All snippets, with or without a keyword, are also reachable via the Snippets button at the bottom of the compose window. You can search there, and favorites are at the top. You mark a favorite with the star next to it in the settings list.
The Quick Reply below an email has its own Snippets and Templates buttons and inserts the text there without formatting.
Templates
Section titled “Templates”A template is a ready-made text for reuse, with variables in double curly braces. It has no subject and no recipients. YouniqMail inserts it into the text at the cursor position:
Hello {{recipient.firstName}},
thank you for your inquiry. …
{{sender.name}}YouniqMail fills built-in variables itself. Dates appear in the format
of your app language. Custom variables like {{project}} are possible
too.
| Group | Variables |
|---|---|
| Recipient | recipient.firstName, recipient.lastName, recipient.name (full name), recipient.company, recipient.email |
| Date & Time | date.today, date.todayLong, date.tomorrow, date.nextWeek, date.time, date.weekday, date.weekdayShort, date.year, date.month |
| Sender | sender.name, sender.email, sender.accountName |
mail.subject, mail.originalDate (date of the email you reply to or forward) |
The recipient is the first address in To, otherwise in Cc, otherwise in Bcc. The company comes from that recipient’s contact.
Create them under Settings → Text Blocks → Templates with Add template. There are two ways to place variables at the cursor position, and selected text is replaced:
- Toolbar button: Insert variable shows all built-in variables by group and also works in the HTML and Markdown views.
- Type
{{: A suggestion list opens right at the cursor. Keep typing to filter it, pick with the arrow keys and accept with Enter. Escape closes the list and leaves the typed text in place.
When you insert a template, a dialog with the template’s name opens. Under Replace variables you choose for each variable Auto (filled from recipient, sender, subject and date where possible), Manual (you enter the value) or Keep (the placeholder stays in the text). A preview shows the result before you confirm with Insert template. A Manual variable you leave empty is removed, and the preview shows it crossed out.
In the compose window, templates are reachable via the Templates button, also with search and favorites.
Variables while writing
Section titled “Variables while writing”The compose window also has the Insert variable button in the
toolbar and the suggestion list after {{. Here YouniqMail inserts the
value right away, not the placeholder: next to each variable, the list
shows what will be inserted, such as the first name of the first
recipient. Anything that cannot be filled yet, such as the recipient
details while no recipient is entered, is grayed out, with the reason
next to it.
Which for what
Section titled “Which for what”| Snippet | Template | |
|---|---|---|
| Size | sentence to paragraph | longer text |
| Insert | /keyword and Tab, the list after / or Snippets button |
Templates button |
| Placeholders | none | {{variable}} is filled in (Pro) |
| Typical case | greeting, directions | quote, application reply, support answer |
Free-plan limits
Section titled “Free-plan limits”Without Pro, one snippet and one template are available. Existing ones remain fully usable when Pro lapses; only no new ones can be added until there is room again.
Both can be exported and imported, for instance to share within a team, keywords and favorites included. Imported ones count toward the free limits, and without Pro an import skips templates with variables. The full backup includes them.