fix email submission if more than one email address was passed as string