bugfix mailnotif scheduler and tender template