Tests and javascript on configuration of mailer