Mail and progressBar fixes.