Added alerts for email success/failure