correct mail template graph in workflow (closes #4143)