For Emails Epicor recommends to use a Data Directive that is Standard Type (not In-Transaction). But depending on the case, I’ve done it in POST as well.
Either use a Standard Data Directive or I would still do it in the POST, using the PRE method to enable the POST Directive.