From 2d26da35a02152a1039570558b374df2ae85b4bc Mon Sep 17 00:00:00 2001 From: colincazabet Date: Wed, 8 Jul 2026 17:17:04 +0200 Subject: [PATCH 1/4] feat: add preview to html form --- custom-recipes/send-mails-from-contacts-dataset/recipe.json | 1 + 1 file changed, 1 insertion(+) diff --git a/custom-recipes/send-mails-from-contacts-dataset/recipe.json b/custom-recipes/send-mails-from-contacts-dataset/recipe.json index e656acd..0a7b1ec 100644 --- a/custom-recipes/send-mails-from-contacts-dataset/recipe.json +++ b/custom-recipes/send-mails-from-contacts-dataset/recipe.json @@ -165,6 +165,7 @@ "name": "html_body_value", "label" : "Body (HTML)", "type": "TEXTAREA", + "showHtmlPreviewButton": true, "description" : "The body content supports JINJA templating. E.g. for a value from the input dataset use {{ column_name }}, for a table of attachment data {{ attachments.dataset_name.html_table }}, or to loop through an attachment dataset {% for row in attachments.dataset_name.data %}{{ row.column_name }}{% endfor %}", "defaultValue" : "\n\n{# add content underneath this - you can use JINJA templating, e.g. {{ column_name }} #}\n\n", "visibilityCondition" : "model.use_body_value && (model.body_format == 'html')" From 4d577a3b90a720420bbc78bd14b676bb46b9a284 Mon Sep 17 00:00:00 2001 From: colincazabet Date: Thu, 9 Jul 2026 12:35:23 +0200 Subject: [PATCH 2/4] chore: replace TEXTAREA by EMAIL_TEMPLATE_TEXTAREA --- custom-recipes/send-mails-from-contacts-dataset/recipe.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/custom-recipes/send-mails-from-contacts-dataset/recipe.json b/custom-recipes/send-mails-from-contacts-dataset/recipe.json index 0a7b1ec..b27f813 100644 --- a/custom-recipes/send-mails-from-contacts-dataset/recipe.json +++ b/custom-recipes/send-mails-from-contacts-dataset/recipe.json @@ -164,8 +164,7 @@ { "name": "html_body_value", "label" : "Body (HTML)", - "type": "TEXTAREA", - "showHtmlPreviewButton": true, + "type": "EMAIL_TEMPLATE_TEXTAREA", "description" : "The body content supports JINJA templating. E.g. for a value from the input dataset use {{ column_name }}, for a table of attachment data {{ attachments.dataset_name.html_table }}, or to loop through an attachment dataset {% for row in attachments.dataset_name.data %}{{ row.column_name }}{% endfor %}", "defaultValue" : "\n\n{# add content underneath this - you can use JINJA templating, e.g. {{ column_name }} #}\n\n", "visibilityCondition" : "model.use_body_value && (model.body_format == 'html')" From 7b68531eb91608f61d8de09b6a0d99b27473be53 Mon Sep 17 00:00:00 2001 From: colincazabet Date: Thu, 9 Jul 2026 18:09:19 +0200 Subject: [PATCH 3/4] chore: bump version to 1.1.0 --- CHANGELOG.md | 4 ++++ plugin.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9379d7..5f52128 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [Version 1.1.0](https://github.com/dataiku/dss-plugin-sendmail/releases/tag/v1.0.3) - Feature release - 2026-07 + +- Features added + - Use of EMAIL_TEMPLATE_TEXTAREA instead of TEXTAREA to allow preview of email body ## [Version 1.0.3](https://github.com/dataiku/dss-plugin-sendmail/releases/tag/v1.0.3) - Feature release - 2025-03 diff --git a/plugin.json b/plugin.json index ee7b2ac..8f000c5 100644 --- a/plugin.json +++ b/plugin.json @@ -1,6 +1,6 @@ { "id": "sendmail", - "version": "1.0.3", + "version": "1.1.0", "meta": { "label": "Send emails", "description": "Send emails based on a dataset containing a list of contacts, with optional attachments (other datasets)", From 937bfca1128bc61a99fc5b701ab966cedd3b4fb7 Mon Sep 17 00:00:00 2001 From: Colin Cazabet Date: Fri, 10 Jul 2026 08:46:04 +0000 Subject: [PATCH 4/4] Update plugin.json Co-authored-by: Axel Messinese --- plugin.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.json b/plugin.json index 8f000c5..da96f57 100644 --- a/plugin.json +++ b/plugin.json @@ -3,7 +3,7 @@ "version": "1.1.0", "meta": { "label": "Send emails", - "description": "Send emails based on a dataset containing a list of contacts, with optional attachments (other datasets)", + "description": "Send emails based on a dataset containing a list of contacts, with optional attachments (other datasets). Requires DSS 15.1 or above", "author": "Dataiku", "icon": "icon-envelope-alt", "licenseInfo": "Apache Software License",