[FIX] test_mail: Rewrite the XSS test