Sage 300 2021 AR Invoice batch print to customer only works for single invoice, if there are more than one invoice selected it fails with error

SOLVED

At a customer site when they print to customer location(e-mail) when it is only one invoice it goes through, when there are multiple invoices it fails. Sending test mail from company tab works.