Fix ignoring mail templates