How to add the second attachment onto Perspective email

I set up a button to click to email out a PDF report as attachment. However, how can I add the second attachment PDF to the same email? It means I can send out one email with two attachment. How can I do that?

def runAction(self, event):

params = {}

reportViewer = self.parent.parent.getChild("FlexContainer_Report").getChild("ReportViewer")

for par in reportViewer.props.params:
    params[par] = reportViewer.props.params[par]
    
system.perspective.print(str(params))

BU = 'BU123'
LoadId = 'LoadId123'
OrderNum = 'Order123'

reportName = 'report123'
Subject = 'subject123'
EmailFrom = '123@567.com'
EmailTo ='123@567.com'

# Executes and distributes the report to an email address.
EmailSettings = {
    "to": [EmailTo],
    "smtpServerName": "Email",
    "from": EmailFrom,
    "attachmentName": reportName,
    "format": "pdf",
    "subject": Subject
}
reportPath = "JD/PickReport"
projectName = "PickingShipping_WIP"
system.report.executeAndDistribute(action='email', path=reportPath, project=projectName, parameters=params, actionSettings=EmailSettings)

Thanks

Judy

You wouldn't use system.report.executeAndDistribute(). Instead, you would use system.report.execute() to retrieve the bytes of the PDF (one or more times), then custom assemble and send the email via system.net.sendEmail(). You can have as many attachments as you like.