Backported script to send emails
Merge branch '3.2_backported' of git@github.com:Dolibarr/dolibarr.git into 3.2_backported