You can use regular expressions to validate an email. Would be more easy to maintain and manage.
$('form input[name="email"]').blur(function () {
var email = $(this).val();
var re = /[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}/igm;
if (re.test(email)) {
$('.msg').hide();
$('.success').show();
} else {
$('.msg').hide();
$('.error').show();
}
});