added mail templates and methods for digest