reversion support for mail templates