email optionally uses criteria from message (#547)

* email optionally uses criteria from message

Allows for generation of detailed queries through flows when triggering an email
fetch in IMAP.

* use the same default as a new email node

When the criteria is set from a message, if there is no criteria use the same default as a new node.
This commit is contained in:
Luis Mario Domenzain
2019-05-29 13:45:54 +02:00
committed by Dave Conway-Jones
parent 877763aae9
commit 16130362fc
5 changed files with 9 additions and 3 deletions

View File

@@ -182,6 +182,7 @@
<option value="UNANSWERED" data-i18n="email.label.unanswered"></option>
<option value="UNFLAGGED" data-i18n="email.label.unflagged"></option>
<option value="UNSEEN" selected="selected" data-i18n="email.label.unseen"></option>
<option value="_msg_" data-i18n="email.label.criteriaFromMsg"></option>
<!--
<option value="DELETED" data-i18n="email.label.delete"></option>
<option value="DRAFT" data-i18n="email.label.none"></option>