---
title: "send email with template · RUAL Documentation"
description: "sends a single email with a template."
canonical: https://docs.rual.nl/block-types/postmark/postmarkconnection_send_email_template
language: en
---

# send email with template

This block is part of the [`postmark`](https://docs.rual.nl/block-types/postmark) group and was last modified in core [`v10.3.13`](https://docs.rual.nl/core-versions/100313).

sends a single email with a template.

- flow `flow`

- connection required `postmarkconnection`

- from required `value` The e-mail address you are trying to send this e-mail from, could be multiple seperated with a comma, e.g. `email1@example.com, email2@example.com`. A name can also be set by using `"Name" email1@example.com`

- reply to `value` Reply To override email address. Defaults to the Reply To set in the sender signature.

- to required `array` The e-mail addresses you are trying to send this e-mail to.

- cc `v10.3.13` `array` The e-mail addresses set as the CC for this email.

- bcc `v10.3.13` `array` The e-mail addresses set as the BCC for this email.

- template id required `value` The template id. • Hidden when other fields are filled

- template alias required `value` The template alias. • Hidden when other fields are filled

- template model required `object` The object being parsed with the template.

- attachment `file`

- track `condition` Will track the opening of the email. If not set the postmark server setting will be used.

Default `Postmark setting`

- flow `flow`

- connection `postmarkconnection`

- success `condition`

- error `value`

- response `object`

| `postmark` |
| --- |

A typical wiring for [send email with template](https://docs.rual.nl/block-types/postmark/postmarkconnection_send_email_template): [value](https://docs.rual.nl/block-types/value/value_default) feeds the `from` pin; [open connection](https://docs.rual.nl/block-types/postmark/postmarkconnection_open) feeds the `flow` pin; [new object](https://docs.rual.nl/block-types/object/object_new_fields) feeds the `template_model` pin; [create suppressions](https://docs.rual.nl/block-types/postmark/postmarkconnection_suppression_create) feeds the `connection` pin; [value](https://docs.rual.nl/block-types/value/value_default) feeds the `template_id` pin; [value](https://docs.rual.nl/block-types/value/value_default) feeds the `template_alias` pin; the `flow` out pin feeds [branch](https://docs.rual.nl/block-types/flow/branch); the `value` out pin feeds [free lock](https://docs.rual.nl/block-types/locking/function_claim_unlock).

![Studio canvas example for the send email with template block: typical wiring for send email with template.](https://docs.rual.nl/canvas-examples/postmarkconnection_send_email_template.png)

### Commonly used with

In production blueprints, this block is most often wired together with:

- [value](https://docs.rual.nl/block-types/value/value_default): feeds into this block. Simply returns the provided value.

- [open connection](https://docs.rual.nl/block-types/postmark/postmarkconnection_open): feeds into this block. Opens a new postmark connection using the given API token.

- [branch](https://docs.rual.nl/block-types/flow/branch): this block feeds into it.

- [new object](https://docs.rual.nl/block-types/object/object_new_fields): feeds into this block. Builds a new object filled with the given fields.

- [add to top of array](https://docs.rual.nl/block-types/array/array_unshift): feeds into this block. Adds your given value to your given array.

- [with values](https://docs.rual.nl/block-types/array/array_of_values): feeds into this block. Returns an array of values.

### Version history

Introduced in [`v10.2.1`](https://docs.rual.nl/core-versions/100201).

Last modified in [`v10.3.13`](https://docs.rual.nl/core-versions/100313).

### Service documentation
