The static retention period given in the purge mail has to be computed
"Dear user, The two years data storage period of part or whole Accord-Bio project (1 run(s) and 7 analyse(s)) is ended."
Now that the retention is not a constant anymore, the purge mail text should be updated to give the right retention period.