Fix error when sending webconf invitations to multiple emails, fix #724

When splitting the string with all emails some of them were left with a space
in the beginning and were not matched against the regex that validates an
email.
Also the wrong error string was being used sometimes.