[3.8] Fix #1588 Error 400 when send email test