fix with mail parameters name & templating test