How to email using with cc address?

I’m trying to create an email template and send it using the below API.

PreRenderedMailNotificationQueueItem.Builder queueItemBuilder = PreRenderedMailNotificationQueueItem.with(recipient, templateFileName, subject)

Apparently this only allows one recipient. Is there any other API which has the ability to use template and send email to a CC address as well? or is there any hack for this API itself which can achieve that functionality?

Is there a way to send template email using this?

ConfluenceMailQueueItem confluenceMailQueueItem = new ConfluenceMailQueueItem(toAddress, ccAddress, subject, body, mimeType)