diff --git a/js/mzta-menus.js b/js/mzta-menus.js index 10068ba8..68b9ce7e 100644 --- a/js/mzta-menus.js +++ b/js/mzta-menus.js @@ -175,6 +175,9 @@ export class mzta_Menus { case 'junk_score': finalSubs['junk_score'] = curr_message.junkScore; break; + case 'mail_datetime': + finalSubs['mail_datetime'] = curr_message.date; + break; case 'tags_current_email': let tags_current_email_array = await transformTagsLabels(curr_message.tags, tags_full_list[1]); finalSubs['tags_current_email'] = tags_current_email_array.join(", "); diff --git a/js/mzta-placeholders.js b/js/mzta-placeholders.js index 152facb4..0be1f83f 100644 --- a/js/mzta-placeholders.js +++ b/js/mzta-placeholders.js @@ -103,6 +103,13 @@ const defaultPlaceholders = [ type: 0, is_default: "1", }, + { + id: 'mail_datetime', + name: "__MSG_placeholder_mail_datetime__", + default_value: "", + type: 1, + is_default: "1", + }, { id: 'tags_current_email', name: "__MSG_placeholder_tags_current_email__",