Added ajax loading gif when a test email is sent