...
First add a tag field to your format. We choose the name email_coming_from
with the tag options no_reply
and info
. Then, add your specified rule as a regex in the predictor settings. On the swagger page of your server environment you can find the endpoint /predictor_settings/{scope}. The scope is the inbox/project for which you would want this predictor to run. Inside key_value_pairs::rule_config you can specify per tag_field which regexes you want to match for a given field_name. Note that the field_name and tag options have to match exactly (case sensitive). Otherwise the prediction will be empty. We created these rules to match no-reply@contract.fit
and info@contract.fit
respectively:
...